Click to See Complete Forum and Search --> : Saving make output


tecknophreak
04-16-2003, 05:45 PM
Say you're doing a make on the kernel and you want to save the output to a file. How would you go about this? If I do a

make > junk

all you get in junk is the commands and none of the good stuff, i.e. warnings, errors.

Modorf
04-16-2003, 05:53 PM
the command script
it starts a new shell and saves anything that is printed to the screen to a text file.

Nathan

tecknophreak
04-16-2003, 06:31 PM
Anymore info, i.e. how to use, I get the bash man/info page.

chrism01
04-16-2003, 06:55 PM
Try this for separate files:
make >make.log 2>make.err
or, to fold into one file
make >make.log 2>&1