Linux Commands | File Management | touch Create Empty Files
touch Command
The touch command creates a file with a size of 0 bytes.
Syntax
touch [file name]
touch Command Examples
Example 1
Create a file named 1 under /backup.
touch /backup/1
Example 2
Create files named 2 and 3 under /backup, and create a file named 1 under /test.
touch /backup/2 3 /test 1