Przekieruj stderr do pliku Linux

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