save output of command to file linux in directory code example Example: linux terminal write output to file SomeCommand > SomeFile.txt