A Technical Nanoblog.

#2

Bash: Redirect stdout and stderr to the Same File with &>

Redirect both STDOUT and STDERR to the same file using &>:

command &> output.log

This is equivalent to command > output.log 2>&1 but more concise.