In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-16 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/01 Report--
Most people do not understand the knowledge of this article "what the tmpwatch command of Linux is used to do", so the editor summarizes the following content, detailed content, clear steps, and has a certain reference value. I hope you can get something after reading this article. Let's take a look at this "what the tmpwatch command of Linux is used to do".
Tmpwatch recursively deletes files that have not been accessed within a given time, usually used to clean up the directory used for temporary storage space, and can set the file expiration time, the default unit is calculated in hours.
Grammatical format
Tmpwatch [parameters]
Common parameters:-a delete any type of file-f forcibly delete a file or directory, its effect is similar to the "- f" parameter of the rm instruction-Q does not show the instruction execution process-v shows the instruction execution process in detail-test is only for testing, and does not really delete the file or directory reference example
Use the directive "tmpwatch" to delete files in the directory "/ tmp" that have not been used for more than one day, and enter the following command:
[root@linux265] # tmpwatch 24 / tmp/ above is the content of this article about "what are the tmpwatch commands of Linux used to do". I believe everyone has a certain understanding. I hope the content shared by the editor will be helpful to you. If you want to learn more about the relevant knowledge, please follow the industry information channel.
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.