Redirect stdout to file

Terminal
<command> > output.txt