In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-18 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/01 Report--
How to use man in Linux to help use the man command to operate the system, many novices are not very clear about this, in order to help you solve this problem, the following small series will explain in detail for everyone, there are people who need this to learn, I hope you can harvest.
In Linux system using man help can use the man command to operate the system, but also can query some related files, so what is the use of man help? The following small series will introduce you to the next Linux method of using man help.
How to use:
1.
The meaning of the number after the query of man:
1 Instructions or executable files that users can operate on in shell switching
2. Functions and tools that can be called at the core of the system
3 Some commonly used functions (function) and function libraries (library), most of which are c function libraries (libc)
4 Hardware file descriptions, usually/dev/files
5 Configuration files or certain file formats
6 games (games)
7 Conventions and protocols, such as linux file system, network protocol, ASCIIcode, etc. Description
8 Commands available to system administrators
9 Documents related to kernel
2.
The man page is roughly divided into the following sections:
NAME: Simple command, data name description
SYNOPSIS: Brief introduction to command syntax (sysntax)
DESCRIPTION: More complete description, need to read carefully
OPTION: Description of all available options listed in SYNOPSIS
COMMANDS: Commands that can be used in this software when this software is running
FILES: files used by or referenced by or linked to by this software or data
SEE ALSE: Reference, additional instructions related to this command
EXAMPLES: Some examples that can be referenced, this one is best used
BUGS: Are there any bugs involved?
3.
Related operations in man
Ctrl + F or Page Down
Ctrl + B or Page Up
gg to first line
GG to last line
/start: search for start related characters in the whole manual, use n to find the next one, use N to find the previous one
j, k are used as in vi, j one line down, k one line up
d Turn down half page
u up half page
h Get help with man usage
Q quit man
4.
man's profile man.conf
MANPATH /usr/man: Set the path where the man file is stored
MANPATH /opt/*/man: to set
5.
man -f command: you can find other man help commands in the system, such as: man man, the system will prompt 1, 1p, 7, 5 and other different help
Unspelling of the man -k command: This helps when we use the full command,
For example, if I forget the iptables command, I can only remember ipta. If I can use man -k ipta, the system will display the command including ipta on the screen.
Did reading the above help you? If you still want to have further understanding of related knowledge or read more related articles, please pay attention to 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.