In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-19 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >
Share
Shulou(Shulou.com)06/02 Report--
This article mainly explains "Linux how to modify file time", the article explains the content is simple and clear, easy to learn and understand, the following please follow the editor's ideas slowly in depth, together to study and learn "Linux how to modify file time" bar!
In Linux, uh, each file will have three times, and it will be a time to change.
Modification (mtime): this time is updated when the content data of the file changes, which refers to the contents of the file, not the properties or permissions of the file.
Status time (ctime): this time is updated when the state of the file changes, for example, when permissions and properties are changed.
Let's look at the kaka.php file.
By default, ls-l shows the time of the file's mtime, which is when the file's contents were last modified.
Touch instruction
As you can see, the mtime of the file is updated when the file followed by touch exists, and a new file is created when the file does not exist.
Expansion
We can see that the output of ls-l is the same as that of ll. The instruction ll means ls-l. Ll itself does not exist. It is a command alias made. We will discuss it in detail later.
Thank you for your reading, the above is the content of "Linux how to modify the file time", after the study of this article, I believe you have a deeper understanding of how to modify the file time of Linux, the specific use of the situation also needs to be verified in practice. Here is, the editor will push for you more related knowledge points of the article, welcome to follow!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.