Stack Exchange network consists of 183 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
Stack Overflow for Teams is now called Stack Internal. Bring the best of human thought and AI automation together at your work.
Bring the best of human thought and AI automation together at your work. Learn more
Stack Internal
Knowledge at work
Bring the best of human thought and AI automation together at your work.
When you compile kernel you normally see lines like
CC XX.o or LD XX
CC XX.o
LD XX
So, can I skip these messages? Only output errors or warnings generated by gcc
make > /dev/null
stderr
make 2>&1 1>stdout.log | tee stderr.log
CC ...
Looks like make -s works.
make -s
That would make the whole procedure "silent".
Start asking to get answers
Find the answer to your question by asking.
Explore related questions
See similar questions with these tags.
make > /dev/null? Why would you want to do that actually?stderr. Or (in bash)make 2>&1 1>stdout.log | tee stderr.log- you'll get both logged, onlystderrwill be displayed.CC ...line got lost, you won't be able to figure out where the message comes from.