Redirecionar o Stderr para arquivar Linux

command > file.txt  # redirect stdout -> file
command &> file.txt # redirect stderr -> file
Gifted Gull