Linux Small Command (2) man

Source: Internet
Author: User

Linux commands (2) man

Man is a common help command under Linux.

?

If it is easy to install, you need yum a man pack before you can use the Man command

#yum Install Man-y

?

man-Display the online Help Manual (Manualpage) manpath-determine the search path for the online manual.

Format: Man [section] [name]

On-line [name] specifies a man page for Chapter [section], where [sections] includes:

    1. User commands (Users command)
    2. System calls (Systems call)
    3. C library function (c function)
    4. Devices Special Devices (device description)
    5. File formats and coverntion (files format)
    6. Games and toys (gaming and entertainment)
    7. Miscellaneous (Miscellaneous)
    8. Administrative Commands (Administrator command)

?

Generally speaking, we can use it directly

#man command

?

Like what:

#man ls

The manual for the query command "LS".

Under Linux, men are omnipotent.

?

If you want to use the Chinese man, you need to download the package manpages-zh:http://code.google.com/p/manpages-zh/

Follow these steps

  1. Download the installation package for Chinese man

    #wget http://manpages-zh.googlecode.com/files/manpages-zh-1.5.1.tar.gz

    If there is no wget need yum first wget and then execute the above command

    Yum Install Wget-y

  2. Unzip the file

    #tar –XZVF manpages-zh-1.5.1.tar.gz

  3. Directory after entering the file

    #cd manpages-zh-1.5.1.tar.gz

  4. install

    #./ Configure--prefix=/usr/local/zhman--disable-zhtw?

    #make

    #make install

  5. Modify configuration file

    #vi ~ /.BASHRC

    add

    BASHRC

    alias cman = ' man–m/usr/local/zhman/share/man/zh_cn '

    P style= "text-align:justify" > After the addition, press the "ESC" key, use "shift+:" To bring up the command bar, enter "WQ" back to the town save and exit

    #source ~/.bashrc

    Now you can use the stable man, here is Cman, because the recommended English version, since it is learning. It's not wrong to practise English more. After all, the computer thing was invented in English.

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.