stderr是输出到哪
For example, try to less the error messages generated by the compiler with
make | less
Use this command:
使用此命令 :
make 2>&1 | less
or, if you want stderr only:
或者,如果仅需要stderr:
make 2>&1 >/dev/null | less
Answered by anonymous.
匿名回答。
翻译自: https://www.systutorials.com/how-to-pipe-the-stderr-to-less/
stderr是输出到哪