In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-17 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/01 Report--
Today, I will talk to you about the use of whereis commands in the Linux system, which may not be well understood by many people. in order to make you understand better, the editor has summarized the following contents for you. I hope you can get something according to this article.
Whereis command is also a command for file search in Linux system, and its main function is to search the location of the command and the location of the help document.
Whereis command features:
1) the "whereis" command can only find system commands, not ordinary files. 2) the "whereis" command is the same as the "locate" command to find data from the database, so the query speed is fast. one hundred and twenty one。 Command format:
Whereis [option] command name 12. Common options:
"whereis-b" only looks for the location of the executable file. "whereis-m" only finds the location of the help document. (M means man) "whereis-s" looks for the location of the source code file. (s means source) 1233. Common examples:
1) View the location of the command "pwd" and the location of the help document 1
2) View only the location 1 of the command "pwd"
3) View only the location of the help document for the command "pwd" 1
After reading the above, do you have any further understanding of how to use the whereis command on the Linux system? If you want to know more knowledge or related content, please follow the industry information channel, thank you for your support.
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.