Re: redirect error output from rpm?

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

 



Raul Acevedo wrote:

If you are using bash, add 2>&1 to redirect stderr (file descriptor 2)
to stdout (file descriptor 1):

# rpm -e packagename >> ~/unist.txt 2>&1

If you are using csh or tcsh, you add & immediately after the >>
redirect command:

# rpm -e packagename >>& ~/unist.txt

Raul


I am using bash. Thank you, that worked perfectly.



-- regards,

shane


-- Shrike-list mailing list Shrike-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/shrike-list

[Index of Archives]     [Fedora Users]     [Centos Users]     [Kernel Development]     [Red Hat Install]     [Red Hat Watch]     [Red Hat Development]     [Red Hat Phoebe Beta]     [Yosemite Forum]     [Fedora Discussion]     [Gimp]     [Stuff]     [Yosemite News]

  Powered by Linux