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 > Database >
Share
Shulou(Shulou.com)06/01 Report--
Find command, archive compression tool, xargs, exec, tar, xz, cpio
Find command
The common file search tools in Linux are locate and find as well as whereis. They are suitable for different situations, such as whereis can only be used to search program binaries, source code files and man manuals and other related files, find and local can find all files on disk (excluding virtual files in proc and sys directories). The find command takes a long time to search for files by traversing the disk, and consumes some resources. Compared with find, locate and whereis search very fast and occupy less I-locate resources, so it is more efficient. The reason is that locate does not search specific directories, but looks for them in their respective databases, which contains file names, directories and other information. The Linux system automatically creates this database and updates it once a week. Of course, the newly generated files cannot be found immediately, because there is no index in the database. At this time, you can manually update the locate database with updatedb. In order to avoid resource consumption, updates are usually not selected in the actual environment. The database for whereis is created using mandb and on CentOS 6 using makewhatis. This paper mainly introduces the common options of find command, de Morgan's law, processing action and so on.
Practice
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.