how to pipe the output of a program to a new file code example Example: pipe commands into a text file bash command > file.txt