Edward Kerr wrote:

> I am running a rsync command as a cron job, but I would like to have the 
> output that normally scrolls past you on the terminal sent to a text 
> file for me to look at later.

as a general rule you can direct the standard output into a file using 
the > character followed by the filename

for example

netstat >phil.log

creates a file phil.log with the output of the netstat command in it, 
instead of it flying off the top of the monitor.

you only get the one file no matter how many times you do it, so it is 
overwriting without asking.

Phil

_______________________________________________
Peterboro mailing list
[email protected]
https://mailman.lug.org.uk/mailman/listinfo/peterboro

Reply via email to