Breezy: X Won't Start
Dennis Kaarsemaker
dennis at kaarsemaker.net
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: http://www.ubuntulinux.org
- Linux voor normale mensen: http://www.ubuntulinux.nl
-------------- 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: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20050630/de45f910/attachment.sig>
More information about the ubuntu-users
mailing list