Writing the output of make to a file...

S. Anthony Sequeira tony at neutronstar.fsnet.co.uk
Sun Jan 19 14:20:55 PST 2003

On Sun, 2003-01-19 at 21:07, Rob Park wrote:
> Alas! Leigh Gardiner spake thus:
> > >try:
> > >
> > >make install &> install
> If you want to see it on screen and get a logfile at the same time, you
> could try this:
> make install 2>&1 | tee install

You could, if available, use script.  This I use, as it creates a log
file of absolutely everything, including keystrokes.

Use thus:

script /path/to/log/filename.log

before starting.

You can append to an existing log, so you can return to an installation,
and carry on with the same log.

Man pages have the gory details.


S. A. Sequeira

Unsubscribe: send email to listar at linuxfromscratch.org
and put 'unsubscribe lfs-support' in the subject header of the message

More information about the lfs-support mailing list