Linux touch command
The Linux touch command is used to create empty files or change the time stamp for existing files.
Syntax:
Example:
For this example, first, check the number of files available in the current directory. I have one file in our directory as below
Check the modification date of the existing file and create a new file myfile.txt using the touch command. Also, try the touch command with the existing file.
Again list the files in the current directory. You can see a new empty file created and the existing file modification time is changed to the current date/time.
0 Comments
CAN FEEDBACK
Emoji