SyntaxFix
Write A Post
Hire A Developer
Questions
Please use command 2>file Here 2 stands for file descriptor of stderr. You can also use 1 instead of 2 so that stdout gets redirected to the 'file'
command 2>file
2
1