If the file1.txt file already exists in your home directory, the touch -7file1.txt command will change the access and modification times of the existing file1.txt file. The touch command can be used to create new empty files or update the timestamps of existing files. The -7 option specifies that only one timestamp should be changed instead of both. References:https://documentation.suse.com/sles/15-SP3/html/SLES-all/sec-cli-touch.html
Contribute your Thoughts:
Chosen Answer:
This is a voting comment (?). You can switch to a simple comment. It is better to Upvote an existing comment if you don't have anything to add.
Submit