Answers for "unix redirect stdout and stderr to file"

0

linux redirect everything (stdout and stderr) to file

foo > allout.txt 2>&1
Posted by: Guest on May-11-2021
0

redirect stderr to file linux

command > file.txt  # redirect stdout -> file
command &> file.txt # redirect stderr -> file
Posted by: Guest on June-22-2021

Code answers related to "unix redirect stdout and stderr to file"

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language