Instance
Let's take the actual operation example. In the following example, follow code.tgz (red)
You can ignore that code.
The next one is me in the code directory, separate execution
Ls-lls-lcls-lu
After the operation results:
650) this.width=650; "src=" Http://s4.51cto.com/wyfs02/M00/80/5E/wKioL1c-xHbSbr5dAAAs2t11u6Q603.png "title=" 1.png " alt= "Wkiol1c-xhbsbr5daaas2t11u6q603.png"/>
As you can see, the system prints out 3 different times, respectively.
Next Rename, execute
MV Code.tgz Code1.tgzls-lls-lcls-lu
The results of the operation are as follows:
650) this.width=650; "src=" Http://s1.51cto.com/wyfs02/M02/80/60/wKiom1c-xGvTU1o3AAA93UH9JcE265.png "title=" 2.png " alt= "Wkiom1c-xgvtu1o3aaa93uh9jce265.png"/>
Can see
After renaming the file,
The result of the-L came out changed (updated time)
Next visit, execute
Vim code1.tgz (after entering Vim, exit and then execute the following command) Ls-lls-lcls-lu
650) this.width=650; "src=" Http://s2.51cto.com/wyfs02/M02/80/60/wKiom1c-xfLBpkYWAAA9H318paw641.png "title=" 3.png " alt= "Wkiom1c-xflbpkywaaa9h318paw641.png"/>
Can see
After accessing the file,
The result of-lu has changed (updated time)
Next modify the file, execute
Vim code1.tgz (after entering vim, modify the contents, save and exit, then execute the following command) Ls-lls-lcls-lu
650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M00/80/5E/wKioL1c-yIvR49HBAAA4wtNPPrU066.png "title=" 4.png " alt= "Wkiol1c-yivr49hbaaa4wtnppru066.png"/>
Can see
After the file has been modified,
The results of-L are also changed (updated time)
In fact, three of the time has changed, because the change is also equivalent to the visit
Explain
The above example shows that the files under Linux exist 3 time
They correspond to the following commands:
Ls-lu Atime (access time) access times LS-LC CTime (change time) creation time (inaccurate, renaming or changing the path will also modify that) ls-l Mtime (Modify time) modified
(Find command under Linux: http://zhweizhi.blog.51cto.com/10800691/1775477)
There are three "time" files under Linux