linux - Redirecting standard error to file and leaving standard output to screen when launching makefile -


i aware redirecting standard error , output file have do:

make > & ! output.txt 

note use ! overwrite file. how can redirect standard error file , leave standard output screen? or better having both error , output on file output on screen, can see how compiling progressing? tried:

make 2>! output.txt  

but gives me error.

note > enough overwrite file. can use tail -f command see output on screen if redirected file:

$(make 1>output.txt 2>error.txt &) && tail -f output.txt error.txt 

Comments

Popular posts from this blog

linux - Does gcc have any options to add version info in ELF binary file? -

android - send complex objects as post php java -

charts - What graph/dashboard product is facebook using in Dashboard: PUE & WUE -