How do you create a new empty file in CentOS 7?
You can create a new empty file in CentOS 7 using the touch command. Just enter the following command in the terminal:
touch filename
In this case, the “filename” represents the name of the new file you want to create. After executing the above command, if the file does not exist, it will create an empty file; if the file already exists, it will update the file’s access and modification time.