How to write the output of a command to a file?

SituationalIT office assistantAdministrative assistanttechnical supportSystem Administrator