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--
How does the Linux system get command help from the terminal? in view of this problem, this article introduces the corresponding analysis and answer in detail, hoping to help more partners who want to solve this problem to find a more simple and easy way.
The Linux system mainly works on the command line, so there are many commands that need to be used, and the commands also contain various parameters, do we have to memorize all the commands in the Linux system? Of course not, few people can fully memorize so many commands, we can get command help from the terminal to see how to use the command.
View the path to the command whatis: displays a short description of the command
The whatis command looks for the command, system call, library function, or special file name specified by the command parameter in the database created with the catman-w command. The whatis command displays the header line in the manual section. You can then issue the man command to get additional information. The whatis command is equivalent to using the man-f command. Linux system cannot be used immediately after installation. Makewhatis | mandb can make database example: whatis echo man-f echo12345678
Command help Internal command: help COMMAND man bash
External commands: COMMAND-help displays usage summary and parameter list most commands have, but not all commands
Man manual file man pages for command help are stored in / usr/share/man almost every command has a man "page" man page grouped into different "chapters" collectively known as Linux manual man command configuration file: / etc/man.config | man_db.conf MANPATH / PATH/TO/SOMEWHERE: indicates the man file search location man-M / PATH/TO/SOMEWHERE COMMAND: search COMMAND life under the specified location The manual page of the order and displays the Chinese man need to install the package man-pages-zh-CN
Man Manual-Chapter
User commands system call C library call device file and special file configuration file format Game Miscellaneous Management Class commands Linux Kernel API123456789man Manual-paragraph
NAME name and brief description SYNOPSIS usage format description [] optional required content a | b choose one of the two {} groups. The same content can appear multiple times DESCRIPTION details OPTIONS options description EXAMPLES sample FILES related files AUTHOR author COPYRIGHT version information REPORTING BUGS bug information SEE ALSO other help refer to 123456789101112131415man manual-commands
Check the man man page man [chapter] keyword list all help man-a keyword search man manual man-k keyword list all matching pages use whatis database, equivalent to whatis man-f keyword print the path of man help file man-w [chapter] keyword12345678910man manual-page operation
The page operation method of the man command: use the less command to achieve space, ^ v, ^ f, ^ F: flip the screen to the end of the file b, ^ b: flip the screen to the beginning of the file d, ^ d: turn half the screen u to the end of the file, ^ u: flip half the screen to the beginning of the file RETURN, ^ N, e ^ E or j or ^ J: turn one line to the end of the file y or ^ Y or ^ P or k or ^ K: turn one line to the beginning of the file Q: exit. #: jump to line # line 1G: go back to the beginning of the file G: turn to the end of the file 1234567891011man manual-character search
/ KEYWORD: searches from the current position to the end of the file with the string specified by KEYWORD as the keyword; does not distinguish between the case of characters; n: next N: previous? KEYWORD: searches from the current position to the head of the file with the string specified by KEYWORD as the keyword; is not case-sensitive N: in the same direction as the search command, the next N: opposite to the search command, the previous 12345678910info help man is often used for command reference, and the GNU tool info is suitable for general documentation reference. No parameters, list all the pages the structure of the info page is like a website each page is divided into "nodes" before the link node before * info [command] 123456 * navigate the info page
Direction key, PgUp PgDn navigation Tab key move to the next link d display theme directory Home display theme header Enter enter selected link n/p/u/l enter next / front / upper layer / last link s text search Q exit info12345678 official website online document third party application official document http://www.nginx.org http://tomcat.apache.org http:// Httpd.apache.org http://www.python.org can obtain installation instructions through the official documentation CD-ROM or website of the distribution. Deployment Guide, Virtualization Guide and other Red Hat knowledge Base and official online documentation http://kbase.redhat.com http://www.redhat.com/docs http://access.redhat.com12345678910 other websites and search http://tldp.org http://www.slideshare.net http://www.google.com123 Google methods for finding specified types of files:
This is the answer to Openstack filetype:pdf rhca site:redhat.com/docs 's question about how the Linux system gets commands and help from the terminal. I hope the above content can be of some help to you. If you still have a lot of doubts to be solved, you can follow the industry information channel for more related knowledge.
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.