QDB: Quote #309373
About / Latest / Random / Queue / Prefs / Donate / Submit Quote / Search

This quote has been fermenting for 12 years and has been voted on 30 times.
Based on preliminary voting, this quote has a 45.6% chance of being approved.

#309373* (?/30) ⚐Flag
birch> i'm trying to build an application using its make instructions but it ends with some errors and there's too much output to read it all in the terminal screen. how would i save the terminal output to a file? thanks.
JohnD0e> birch: command >> file.txt
<birch> JohnD0e, thanks
<rik__> birch: or command >> file.txt 2>&1 if you also want to get the error output in the file
<JohnD0e> birch: yep in fact you should do program-name 2> error.log
<birch> JohnD0e, are you sure your last command is right?
<JohnD0e> birch: what rik__ say is right to redirect stderr and dtdout to a file
<JohnD0e> birch: my last command only redirect stdrr
<stderr> Stop redirecting me!
<JohnD0e> stderr: sorry sorry
<stderr> :-)
Comment: #debian on irc.debian.org
About / Latest / Random / Queue / Prefs / Donate / Submit Quote / Search
14,883 quotes approved; 8,695 fermenting; karma: 189.4827