Create empty file on Linux
In this practical tip you will read how to create an empty file under Linux.
Create empty file under Linux
Use the "touch" command to create empty files:
- To do this, open the terminal / console.
- Enter "touch" and then the file name and file format.
- For example, to create an empty text file, enter "touch Test.txt". A text file with the name "Test" is created.
- Instead of the "touch" command, ">" usually also works.