Piping the Output of a Command to a File

You can use gedit to pipe the output of a command to a text file. For example, to pipe the output of an ls command to a text file, type ls | gedit, then press Return.

The output of the ls command is displayed in a new text file in the gedit window.

Alternatively, you can use the External tools plugin to pipe command output to the current file.