Linux: how to view the initial File Creation Time-general Linux technology-Linux technology and application information. The following is a detailed description. In Linux, there is no concept of File Creation Time. Only the file access time, modification time, and state change time are allowed. That is to say, you cannot know the file creation time. However, if the file has not been modified after it is created, the modification time is equal to the creation time. If the status of the file has not changed after it is created, the state change time is equal to the creation time, if it has not been read, the access time is equal to the creation time, which is basically impossible.
File-related time:
1. Access time: Read the content of this file once, and the time will be updated. For example, use the more command for this file. The ls and stat commands do not modify the file access time.
2. modification time: Modify the file content once. This time will be updated. For example, save the file after vi. The time listed by ls-l is this time.
3. Status change time. Use the chmod command to change the file attributes once. This time will be updated. You can use the stat command + file name to view the detailed status of the file and the correct modification time.
For example: [jing @ zh1_c] $ stat temp. c