Saving the output of a command to a file is helpful if you're trying to diagnose a problem, and it's super easy to do.