Re: redirect error output from rpm? | |
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] | |
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
-- regards,
-- Shrike-list mailing list Shrike-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/shrike-list
[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]