Re: command error redirection

2008-10-10 Thread ANOOP
On Fri, Oct 10, 2008 at 4:03 PM, Gopal Ghosh [EMAIL PROTECTED] wrote: Dear All, How top redirect errors of a command to a file # command errorFile Thanks, Anoop Thanks Regards -- fedora-list mailing list fedora-list@redhat.com To unsubscribe:

command error redirection

2008-10-10 Thread Gopal Ghosh
Dear All, How top redirect errors of a command to a file ThanksRegards -- fedora-list mailing list fedora-list@redhat.com To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines

Re: command error redirection

2008-10-10 Thread ANOOP
On Fri, Oct 10, 2008 at 4:54 PM, Simon Andrews [EMAIL PROTECTED] wrote: ANOOP wrote: On Fri, Oct 10, 2008 at 4:03 PM, Gopal Ghosh [EMAIL PROTECTED] wrote: Dear All, How top redirect errors of a command to a file # command errorFile That would redirect stdout (normal output) rather than

Re: command error redirection

2008-10-10 Thread Simon Andrews
ANOOP wrote: On Fri, Oct 10, 2008 at 4:03 PM, Gopal Ghosh [EMAIL PROTECTED] wrote: Dear All, How top redirect errors of a command to a file # command errorFile That would redirect stdout (normal output) rather than the errors. To redirect standard error you'd usually do: # command 2

Re: command error redirection

2008-10-10 Thread Rick Stevens
Simon Andrews wrote: ANOOP wrote: On Fri, Oct 10, 2008 at 4:03 PM, Gopal Ghosh [EMAIL PROTECTED] wrote: Dear All, How top redirect errors of a command to a file # command errorFile That would redirect stdout (normal output) rather than the errors. To redirect standard error you'd

Re: command error redirection

2008-10-10 Thread Phil Meyer
Gopal Ghosh wrote: Dear All, How top redirect errors of a command to a file Thanks Regards A bit of background is useful in learning, and remembering how to manipulate the command line. There is a new, and pretty good summary of command line goodness, and what it all means, including

Re: command error redirection

2008-10-10 Thread Bill Davidsen
Gopal Ghosh wrote: Dear All, How top redirect errors of a command to a file There are three useful things to do: 1 - redirect only stderr (fd 2) command 2file.err 2 - redirect stdout and stderr to a file command file.log 3 - use the script command to capture ALL output