[clue-tech] Capturing output from apt-get and yum
mike havlicek
mhavlicek1 at yahoo.com
Mon Nov 16 21:50:10 MST 2009
Hello,
I often use "2>&1 | tee logfile" after a command in bash to save the output. But often with package installations user confirmations (Yy/Nn) can be tricky. I definately know yum has thrown me a curve with the user
confirmation question not being displayed on the screen leaving me sitting there wondering why the operation hung. Any suggestions of a better way to do a redirect than:
bash% apt-get install foobar 2>&1 | tee apt-get_install_foobar.log
or the analog for yum.
Thanks,
-Mike
More information about the clue-tech
mailing list