New answers tagged stdin
I find this to be the easiest, after setting up no password handshaking between servers for the user you are running the command as: Uncompressed tar cf - . | ssh servername "cd /path-to-dir; tar xf -" Compression on the fly tar czf - . | ssh servername "cd /path-to-dir; tar xzf -"
/dev/null is used where input, output, or both are not necessary. A read will result in zero bytes being returned. A write will accept any amount of data, and simply discard it. This is most useful for cron jobs where you don't care about the output (or input, as the commands will not be running on an interactive terminal) Or where you want only the exit ...
make >/dev/null this will send the normal output to nowhere land, and retain all the errors right in front of you on the screen. Anything basically you don't need to see/have fill your screen you send to /dev/null
Top 50 recent answers are included