Redirect STDOUT and STDERR with &>
Redirect both STDOUT and STDERR to the same file using &>:
command &> output.logThis is equivalent to command > output.log 2>&1 but more concise.
Redirect both STDOUT and STDERR to the same file using &>:
command &> output.logThis is equivalent to command > output.log 2>&1 but more concise.