I want to redirect both stdout and stderr of a process to a single file. How do I do that in Bash?
Answer
Take a look here. Should be:
yourcommand &>filename
(redirects both stdout
and stderr
to filename).
I want to redirect both stdout and stderr of a process to a single file. How do I do that in Bash?
Answer
Take a look here. Should be:
yourcommand &>filename
(redirects both stdout
and stderr
to filename).
Those brackets declare an empty, inline constructor. In that case, with them, the constructor does exist, it merely does nothing more than t...
No comments:
Post a Comment