[prev in list] [next in list] [prev in thread] [next in thread] 

List:       fedora-list
Subject:    Re: command error redirection
From:       ANOOP <anoop.chargotra () gmail ! com>
Date:       2008-10-10 11:44:19
Message-ID: 22ba9eab0810100432n693a6f15x2835bd8e695b426 () mail ! gmail ! com
[Download RAW message or body]

On Fri, Oct 10, 2008 at 4:54 PM, Simon Andrews
<simon.andrews@bbsrc.ac.uk> wrote:
> ANOOP wrote:
>>
>> On Fri, Oct 10, 2008 at 4:03 PM, Gopal Ghosh <gopal016@gmail.com> 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> errorfile
>
> ..assuming you're using bash for your shell.
Thanks Simon

>
> Simon.
>
> --
> 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
>

-- 
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
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic