How to pipe the stderr to less
Posted on In QAFor 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:
make 2>&1 >/dev/null | less
Tutorials and news on Linux, systems, programming and more.
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:
make 2>&1 >/dev/null | less