Command Details

$ command 2>&1 > output_file

Redirect both standard output and error output to a file.