How to use the Linux Man command

Source: Internet
Author: User

Under the Linux shell, you often use the man command to see how some unfamiliar commands are used.


Man can view several parts of the manual as follows:

Code representative content

1 instructions or executables that the user can manipulate in the shell

2 system core can call functions and tools, etc.

3 Some common functions and function libraries (library), most of which are C's function libraries (LIBC)

4 description of the device file, usually in/dev files

5 profile or some file format

6 games

7 Description of conventions and agreements, such as Linux file systems, network protocols, ASCII code, etc.

8 Management instructions available to system administrators

9 Documents related to kernel

Enter the man+ number + command/function in the shell to find the relevant commands and functions. Without numbers, the man command looks for the relevant commands and functions by default from a manual with a smaller number.


The man command to open the manual after the operation method:

Flip Screen:

SPACEBAR: Flip a screen to the end of a file

B: Flip one screen to the top of the file

Ctrl+d: Half-screen to the end of the file

Ctrl+k: First half screen to file

Enter: Flip a line to the end of the file

K: Flip a line to the file header

G: Jump to the last line

#G: Jump to a specified line

1 g: Jump to File header

Text Search:

/keyword: From the file header to the end of the file: case insensitive

? Keyword: Search from the end of the file to the file header

N: Same direction as Find command

N: Opposite of Find command direction

Exit:

Q:quit


Info command gets the online documentation for the command

Many applications will bring their own Help documentation:/usr/share/doc/app-version

README: Information related to the program

Install: Installation Help

Changes: Change information at version iteration



This article is from the blog "Write to Yourself", so be sure to keep this source http://zhaodongwei.blog.51cto.com/4233742/1758814

How to use the Linux Man command

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.