In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-30 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/01 Report--
Editor to share with you how to get Linux command help, I believe that most people do not know much about it, so share this article for your reference, I hope you can learn a lot after reading this article, let's go to know it!
1. Help Command
For internal commands
For example:
# type cd
Cd is a shell builtin
# help cd
# type ls
Ls is aliased to `ls-- color=auto'
# help ls
-bash: help: no help topics match `ls'. Try `help help' or `man-k ls' or `info ls'.
2. Command-help/-h
For external commands
For example:
# ls-help
III. Man Command
For example:
# man cd
Note the manual manual is divided into chapters; man # Command (# for chapter number)
1. Commands available to all users
2. System kernel calls, not every command has a system call (for example: man 2 read)
3. Library call
4. Special files, such as / dev/tty1
5. File format (syntax of command configuration file, such as: man 5 passwd)
6. Game-related
7. Miscellaneous
8. Administrator commands, such as: fdisk
Man command query operation refer to the command mode in vi,vim usage
Understand man command syntax
[]: optional content
The content must be given
A | b | c: choose one more
... There can be multiple
IV. Info Command
There is a hyperlink to stabilize the document. Info is an information page that provides more detailed information such as the author, version, and when to release. The man manual tells you how to use it.
5. README
Most programs have corresponding help documents, which are saved in the / usr/share/doc folder
Such as:
# ls / usr/share/doc/ntp-4.2.4p8/
ChangeLog COPYRIGHT NEWS
The above is all the contents of the article "how to get Linux Command help". 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.