write output of a file linux bash to text code example Example: linux terminal write output to file SomeCommand > SomeFile.txt