Danh Trịnh
New member
How do I change the modified time of a file in Unix?
Answer
Touch command is used to change these timestamps (access time, modification time, and change time of a file).
Answer
Touch command is used to change these timestamps (access time, modification time, and change time of a file).
- Create an Empty File using touch. …
- Change File’s Access Time using -a. …
- Change File’s Modification Time using -m. …
- Explicitly Setting Access and Modification time using -t and -d.