How to create an empty file from command line - Ask Ubuntu 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 ...