In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/01 Report--
This article mainly shows you "Linux common command apropos how to use", the content is easy to understand, clear, hope to help you solve doubts, the following let the editor lead you to study and learn "Linux common command apropos how to use" this article.
Linux common commands apropos commands look for keywords in specific database files that contain short descriptions of system commands, and then send the results to standard output.
Syntax apropos [- dalhvV]-e |-[w |-r] [- s section] [- m system [,...]] [- M path] [- L locale]-C [file] keyword... Option-d,-- debug: output debugging information. -v,-- verbose: outputs a detailed warning message. -r,-- regex: interprets each keyword as a regular expression. This is the default behavior. Each keyword will match the man page and description. -w,-- wildcard: interprets each keyword as a shell-style wildcard. -e,-- exact: each keyword will exactly match the man page name and description. -a,-- and: only man pages and descriptions that match all keyword are displayed. Items that match any keyword are displayed by default. -l,-- long: output is not reduced according to the width of the terminal. -s section,-- section section: find only the specified manual section. -m system [,...],-- systems=system [,...]: man pages for finding other operating systems. -M path,-- manpath=path: specifies to look from other man page hierarchies separated by colons. The $MANPATH environment variable is used by default. This option overrides the contents of $MANPATH. -L locale,-- locale=locale:apropos calls the C function setlocale to get the current localization information, including $LC_MESSAGE and $LANG. Use this option to provide an locale string that temporarily changes localization information. -C file,-- config-file=file: use this user profile instead of the default ~ / .manpath. -h,-- help: print help and exit. -V,-- version: print version information and exit. A return value of 0 indicates success, 1 indicates a usage, syntax, or configuration file error, 2 indicates an operation error, and 16 indicates that no match was found.
Example [root@localhost] # man-k who at.allow [at] (5)-determine who can submit jobs via at or batch at.deny [at] (5)-determine who can submit jobs via at or batch jwhois (1)-client for the whois service jwhois (rpm)-Internet whois/nicname client. Net::LDAP::Extension::whoami (3pm)-LDAP Who am I? Operation w (1)-Show who is logged on and what they are doing who (1p)-display who is on the system who (1)-show who is logged on whoami (1)-print effective userid [root@localhost ~] # apropos who at.allow [at] (5)-determine who can submit jobs via at or batch at. Deny [at] (5)-determine who can submit jobs via at or batch jwhois (1)-client for the whois service jwhois (rpm)-Internet whois/nicname client. Net::LDAP::Extension::WhoAmI (3pm)-LDAP Who am I? Operation w (1)-Show who is logged on and what they are doing who (1p)-display who is on the system who (1)-show who is logged on whoami (1)-print effective userid find man pages whose names and descriptions contain emacs and vi:
Apropos-an emacs vi above are all the contents of this article entitled "how to use apropos with Linux commands". Thank you for reading! I believe we all have a certain understanding, hope to share the content to help you, if you want to learn more knowledge, welcome to 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.