A Technical Nanoblog.

Redirect STDOUT and STDERR 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.