Linux touch command examples

Most useful examples of the touch command – Linux

You can change the modification time of a file without actually modifying anything in the file using the touch command. Use the -m option to set the modification time of the file to the current time. Also, if the file does not exist, it will create a new file with that name. And if you don’t want to create a new file, use

Learn More