How Do I Change Ctime in Linux?
Contents How Do I Change the Timestamp on a Linux File? 5 Linux Touch Command Examples (How to Change File Timestamp) Create an Empty File Using Touch. …...
Contents
How do I change the timestamp on a Linux file?
5 Linux Touch Command Examples (How to Change File Timestamp)
- 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. …
- Copy the Time-stamp from Another File using -r.
Must Read
What does Ctime mean in Linux?
Every Linux file has three timestamps: the access timestamp (atime), the modified timestamp (mtime), and the changed timestamp (ctime). The access timestamp is the last time a file was read. This means someone used a program to display the contents of the file or read some values from it.