Greetings All,

As a newcomer to Linux I'm fascinated by this strange new world.

This email doesn't require an answer, I just thought it might amuse you to
know that I've no idea what an rsync command is (something you type at the
terminal, I suspect - and I *do* know what the terminal is and can even go
to it. Then I'm lost because DOS commands generally don't work.)

I've also no idea what a cron job is. Fascinating :-)

The reply made some sense - the syntax is like DOS but what on earth does
'netstat' stand for, I wonder?

See you at the next meeting - when is it, by the way?

Confused of Stamford.




-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Phil Thompson
Sent: 24 November 2008 20:10
To: [EMAIL PROTECTED]; Peterborough LUG - No commercial posts
Subject: Re: [Peterboro] Getting rsync output into a file

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


No virus found in this incoming message.
Checked by AVG - http://www.avg.com 
Version: 8.0.175 / Virus Database: 270.9.9/1807 - Release Date: 24/11/2008
14:36


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

Reply via email to