linux save program output to file code example Example: linux terminal write output to file SomeCommand > SomeFile.txt