Basics of Linux Getting Started (11) How to get help

Source: Internet
Author: User
Tags documentation linux

There's no need to remember everything.

Linux provides extremely detailed help tools and documentation, and must develop the habit of helping documents, greatly reducing what needs to be remembered and improving efficiency.

Help

Almost all commands can use the-h or--help parameters to obtain the usage method, parameter information, etc.

$ command--help

Or

$ command-H

Mans

$ man Command

Man gets more detailed help documents than--help

Man is the most commonly used help command in Linux, and you can get the appropriate documentation help by running the man command as a parameter for the command you want to get help.

The man document is divided into many types:

The MAN-K keyword can be used to query the document that contains the keyword

$ man-k passwd

All documents that contain passwd keywords are listed

Info

Info is similar to man, but provides more detailed information than mans! Available in the form of a similar web page

Both man and info can be searched using the "/+ keyword" method

DOC

Many programs, commands with detailed help documentation, are stored in the/usr/share/doc directory in Txt,html,pdf, and are the most detailed documentation of the appropriate program

See more highlights of this column: http://www.bianceng.cnhttp://www.bianceng.cn/OS/Linux/

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.