How to execute a remote command and pass in local file as input?
Is it possible to do this:
Is it possible to do this:
Is it possible to compare two directories with rsync and only print the differences? There’s a dry-run option, but when I increase verbosity to a certain level, every file compared is shown.
Here is an example of using cut to break input into fields using a space delimiter, and obtaining the second field:
We are attempting to speed up the installation of oracle nodes for RAC installation.
this requires that we get ssh installed and configured so that it doesn’t prompt for a password.
I’m running a small server for our flat share. It’s mostly a file server with some additional services. The clients are Linux machines (mostly Ubuntu, but some others Distros too) and some Mac(-Book)s in between (but they’re not important for the question). The server is running Ubuntu 11.10 (Oneiric Ocelot) ‘Server Edition’, the system from which I do my setup and testing runs the 11.10 ‘Desktop Edition’. We where running our shares with Samba (which we are more familiar with) for quite some time but then migrate to NFS (because we don’t have any Windows users in the LAN and want to try it out) and so far everything works fine.
I need to create a virtual output in PulseAudio so as to be able to capture and stream audio from a specific source.
I can’t manage to set x bit to created file.
This is what I’d like to be able to do:
When I write Bash code, for example to copy files, if a file doesn’t exist, in the terminal I see an error similar to file not found. If the user running the script doesn’t have the necessary permissions, the error is similar to permission denied.
I have a large .sql file full of SELECT statements that contain data I want to insert into my SQL Server database. I’m looking for how I could basically take the file’s contents, 100 lines at a time, and pass it to the commands I have set to do the rest.