shell - Redirect stderr and stdout in Bash -


I want to redirect both stdout and stderr to a file in one file. How can I do this in Bash?

Take a look. Should be:

  yourcommand> File name   

(both for stdout and stderr file name).

Comments

Popular posts from this blog

c++ - why does this code produce a runtime error? -

java - Can Find the error -

maximum size of array in c -