Example:
I log on my laptop machine (Ubuntu 14.04) via ssh and I need to make a .log file of some command output and than transfer it to my desktop machine. The command has -o
option to redirect the output to a file. I could than just copy the file with scp
command.
The question is: Can redirect the output directly to my machine, without the need to first make a file on laptop and than transfering it with scp
?
Both machines use Ubuntu 14.