In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-03-27 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/01 Report--
This article introduces the knowledge of "View help-related command summary in Linux". Many people will encounter such a dilemma in the operation of actual cases, so let the editor lead you to learn how to deal with these situations. I hope you can read it carefully and be able to achieve something!
Detailed explanation of the use of-h or-- help help commands
For help on shell built-in commands, you can use-h or-- help
The code is as follows:
# wget-help
Or for ease of viewing, use it with the less command
The code is as follows:
# wget-- help | less
Or I directly check the usage and explanation of the parameters I want to use:
The code is as follows:
# wget-help | grep proxy
# help cd
Detailed explanation of the use of info command
There may be commands that do not have a man manual or are not in the specified place, at this point, the command may have info documentation.
The code is as follows:
# info tar
Detailed explanation of the use of apropos command
Equivalent to the man-k command, fuzzy search for related commands with keywords, for example, I want to search for web-related commands:
The code is as follows:
# apropos network
Of course, this requires the establishment of a database for search, and when an error occurs in the user's command, the whatis database is not established. Enter:
The code is as follows:
# makewhatis
Set up a database for search
Get a short description of the index
The code is as follows:
# whatis ls
Of course, this requires the establishment of a database for search, and when an error occurs in the user's command, the whatis database is not established. Enter:
The code is as follows:
# makewhatis
Set up a database for search
The Linux system provides relatively rich help manuals (man). Man is an acronym for manual, which is often used in daily linux system management. Let's talk about man today. Man itself provides its own help manual, which can be viewed through man.
Man page is roughly divided into the following parts:
NAME: simple command, data name description
SYNOPSIS: brief introduction to Command Syntax (sysntax)
DESCRIPTION: a more complete explanation that needs to be read carefully
OPTION: description of all available options listed in SYNOPSIS
COMMANDS: when this software is executing, you can use commands in this software
FILES: the file used or referenced or linked to by this software or data
SEE ALSE: for reference, other instructions related to this command
EXAMPLE: some examples to refer to, this is best to use
BUGS: whether there is a relevant bug
Export the man manual for the ls command:
The code is as follows:
Man ls | col-bfp > ls.txt
This is the end of the summary of "View help-related commands in Linux". Thank you for reading. If you want to know more about the industry, you can follow the website, the editor will output more high-quality practical articles for you!
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: 218
*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.