![Emptying a file on a GNU/Linux terminal.](https://miguelmenendez.pro/en/blog/2010/emptying-file-gnu-linux-terminal/error-log-0-bytes.jpg)
Emptying a file on a GNU/Linux terminal
Sometimes it is necessary to empty plain text files quickly and without complications from the command line on a local machine or remotely via SSH.
Sometimes it is necessary to empty plain text files quickly and without complications from the command line on a local machine or remotely via SSH.