Where can I find the STDERR if I run I bash command. Will both the STDOUT and STDERR be displayed on the screen simultaneously if I don’t log the result in a file.
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You can’t “find”
stdoutorstderr. By default they’re redirected to the screen.You can redirect them to a file for example:
redirect
stdoutto als-l.txt:redirect
stderrtogrep-errors.txtredirect
stdouttostderr:All of this is well explained here: http://tldp.org/HOWTO/Bash-Prog-Intro-HOWTO-3.html