Breezy: X Won't Start

Dennis Kaarsemaker dennis at
Thu Jun 30 20:20:59 UTC 2005

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
Dennis K.
  - Linux for human beings:
  - Linux voor normale mensen:
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <>

More information about the ubuntu-users mailing list