Atime:access time when the file (read or executed) or directory was last accessedMtime:modofy time when the file (content) or directory (content) was last modifiedCtime:change time when the file (property) or directory (property) was last changed
Touch Testtime1, stat testtime "for file name" can see this file name of the three states2, ll Testtime;ll--time=atime testtime; ll--time=ctime Testtime-rw-r--r--. 1 root root 0 Sep 19:28 testtime-rw-r--r--. 1 root root 0 Sep 19:28 testtime-rw-r--r--
In fact, I don't want to talk about this content separately, but some friends may not quite understand these three times, so I will study it with you. In Linux, there are three recording methods for file Time: mtime (modificationtime...
In fact, I
This article was reproduced from: http://blog.csdn.net/doiido/article/details/43792561Linux system files have three main time attributes, CTime (change times), Atime (Access Time), Mtime (Modify). These three time is easy to confuse, ready to learn
In the Linux operating system, each file has a lot of time parameters, of which three are compared to the main, respectively, Ctime,atime,mtimeAtime last access time, such as LS, more etc, but chmod, chown, LS, stat, etc. will not be modified for
Linux system files have three main time attributes, CTime (change times), Atime (Access Time), Mtime (Modify). These three time is easy to confuse, ready to learn more about Linux children's shoes please distinguish between the threeatime:access
Common operation and comparison of CTime COleDateTime
1 to get the current time.
CTime time;
Time = Ctime::getcurrenttime ();
2) Gets the time element.
int year = time. GetYear ();
Int month = time. GetMonth ();
int day = time. Getday ();
int hour =
using the COleDateTime class 1 to get the current time.CTime time;Time = Ctime::getcurrenttime ();2) Gets the time element.int year = time. GetYear ();Int month = time. GetMonth ();int day = time. Getday ();int hour = time. Gethour ();int minute =
-Atime, Mtime, CTime in LinuxI. atime, Mtime, CTime in the document1. Meaning and display method of various event markersatime: The last time the file was accessed was atime with the LS -lu Viewmtime: Last file content modification time, with LS -l
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.