Sunday, May 7, 2017

Ubuntu: How to create an empty file from command line

Use the touch command:
The touch utility sets the modification and access times of files to the
current time of day. If the file doesn't exist, it is created with
default permissions.
Example:
touch newfile

No comments:

Post a Comment