Re: command error redirection

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Oct 10, 2008 at 4:54 PM, Simon Andrews
<simon.andrews@xxxxxxxxxxx> wrote:
> ANOOP wrote:
>>
>> On Fri, Oct 10, 2008 at 4:03 PM, Gopal Ghosh <gopal016@xxxxxxxxx> 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@xxxxxxxxxx
> To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
> Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
>

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines

[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux