sudo make 2>&1 &>somelogfile
or even better
sudo make 2>&1 |tee somelogfile to see the messages and have them recorded at the same time.
Kind regards,Sylvain Petreolle (aka Usurp)
Support artists, not multinationals - http://Iwouldntsteal.net
Supportez les artistes, pas les multinationales - http://Iwouldntsteal.net
----- Message d'origine ----
De : Reece Dunn <[email protected]>
À : Susan Cragin <[email protected]>
Cc : [email protected]
Envoyé le : Lundi, 14 Avril 2008, 23h16mn 40s
Objet : Re: [Wine] wine asio
On 14/04/2008, Susan Cragin wrote:FYI, if you run into something like this again, you might find itWhew! You have to be FAST to do that!
easier to use `head -n 20` which will limit the output to the first 20
lines. For example:
$ sudo make 2>&1 | head -n 20
The 2>&1 bit tells the command window to redirect output from the
error stream (id 2) to the output stream (id 1). This is so that the
head command will properly read any lines going to the error stream
and not just ignore them.
And yes, there is a tail command too .
- Reece