Breezy: X Won't Start

Sean C Sieger sean.sieger at gmail.com
Thu Jun 30 20:29:26 UTC 2005


Dennis Kaarsemaker <dennis at kaarsemaker.net> writes:

> On do, 2005-06-30 at 14:33 -0400, Sean C Sieger wrote:
>> sudo sh -c "apt-get upgrade 2>1 1> ~/apt-get.log"
>
> apt-get upgrade 2>&1 | tee ~/apt-get.log
>
> No need to use sh -c
> tee will both echo its input to stdout and to the file. tee -a appends

Nice. Thank you, Dennis.
--
Sean




More information about the ubuntu-users mailing list