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
The meaning of-atime,-ctime,-mtime under LinuxWe are often asked in forums or groups, how to view the creation date of a file under Linux or Unix?It's often said that with the Find command plus option-ctime, the-ctime here is not the create time,
I learned how to get started every day. Yesterday I cheated on the book "unix Super tool" from mmmmn and understood a problem that I had been puzzled for many years. Now I want to share it with you.
When you talk to skilled UNIX users, you often
When you talk to skilled Unix users, you often hear them arrogant about the term "ChangeTime) "and" modification time )". For many (and many dictionaries), changes and modifications are the same. What is the difference here?
The difference between
It is important to differentiate between a file or a directory's change Time (time,ctime), Access time (Access Time,atime), and the modified time (modify Time,mtime).ctime--in Unix, it is not possible to know the exact creation time of a file.
One:Answers to the following questions in this article:
1.1) who will help you make this faq?1.2) when someone mentions 'rn (1) 'or 'ctime (3)', what does the number in the ARC mean?1.3) Why are some strange unix command names?1.4) How does the
One: This article answers to the following questions:
1.1 Who will help you to make this FAQ?
1.2 When someone mentions ' RN (1) ' or ' CTime (3) ', what does the number in the scraping mean?
1.3 What is the origin of some strange unix instruction
You can use the ctime class to conveniently obtain the current system time and convert it to various formats.
TheFormatArgument consists of one or more codes; as inPrintf, The formatting codes are preceded by a percent sign (%). Characters
The format argument consists of one or more codes; As in printf, the formatting codes is preceded by a percent sign (%). Characters that does not begin with% is copied unchanged to strdest. The Lc_time category of the current locale affects the
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.