  | |  | redirect error output from rpm? | redirect error output from rpm? 2004-06-17 - By Shane C Branch
Back 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@(protected) https://www.redhat.com/mailman/listinfo/shrike-list
Earn $52 per hosting referral at Lunarpages.
|
|
 |