How to get help in Linux system and the philosophical thought of Linux system

Source: Internet
Author: User

There are several ways to get help with the use of commands:

1.man ( Help manual for external commands )

In the Shell Command Line window interface, enter:

650) this.width=650; "Src=" https://s2.51cto.com/wyfs02/M00/A7/11/wKioL1ngNkajqnebAAADfawwiZ8969.png-wh_500x0-wm_ 3-wmp_4-s_771321090.png "title=" 1.png "alt=" Wkiol1ngnkajqnebaaadfawwiz8969.png-wh_50 "/>

Get the following window:

650) this.width=650; "Src=" https://s1.51cto.com/wyfs02/M02/08/5B/wKiom1ngOTDDtpSNAAC3FlXbNPc458.png-wh_500x0-wm_ 3-wmp_4-s_506129058.png "title=" 2.png "alt=" Wkiom1ngotddtpsnaac3flxbnpc458.png-wh_50 "/>

The dropdown is both the contents of the man nine chapters:

650) this.width=650; "Src=" https://s1.51cto.com/wyfs02/M01/A7/11/wKioL1ngNqDCtG21AAA0vFgOg20467.png-wh_500x0-wm_ 3-wmp_4-s_1483755565.png "title=" 3.png "alt=" Wkiol1ngnqdctg21aaa0vfgog20467.png-wh_50 "/>

Man Nine chapters:

1. User commands (commands that all users can execute)

2. System calls

3.C Library Call

4. Help with equipment and special files

5. Configuration file format

6. Game-related Help information

7. Miscellaneous

8. Overall management class commands

9. Kernel-related Help information

Some of the fields that are commonly seen in each man Handbook:

650) this.width=650; "Src=" https://s2.51cto.com/wyfs02/M00/08/5B/wKiom1ngOcXhE7U5AAAGanOd0wU211.png-wh_500x0-wm_ 3-wmp_4-s_1370857584.png "title=" 4.png "alt=" Wkiom1ngocxhe7u5aaaganod0wu211.png-wh_50 "/>

Name: A simple description of the program names and related functions;


650) this.width=650; "Src=" https://s2.51cto.com/wyfs02/M01/A7/11/wKioL1ngNzjzq9lQAABIs4NIwRk723.png-wh_500x0-wm_ 3-wmp_4-s_3164541623.png "title=" 5.png "alt=" Wkiol1ngnzjzq9lqaabis4niwrk723.png-wh_50 "/>

Synopsis: The syntax format used by the command;


650) this.width=650; "Src=" https://s4.51cto.com/wyfs02/M02/08/5B/wKiom1ngOf6jqn2VAAAm8T9CRq0456.png-wh_500x0-wm_ 3-wmp_4-s_2715244489.png "title=" 6.png "alt=" Wkiom1ngof6jqn2vaaam8t9crq0456.png-wh_50 "/>

DESCRIPTION: Detailed description information of the program;


650) this.width=650; "Src=" https://s1.51cto.com/wyfs02/M01/08/5B/wKiom1ngOlbwBMgCAAAVXypvCEI026.png-wh_500x0-wm_ 3-wmp_4-s_1809042243.png "title=" 7.png "alt=" Wkiom1ngolbwbmgcaaavxypvcei026.png-wh_50 "/>

Options: A detailed description of the use of the option and the meaning of the option;

AUTHOR: Information of the program author;

EXAMPLES: Example of use of the command program;

REPORTING BUGS: The way in which bugs are included in the reporting program, usually e-mail

See ALSO: What you can use for additional reference

File: Other documentation related to the program, such as configuration files, readme documents, etc.


The meaning of some special symbols that may appear in the Help information:

650) this.width=650; "Src=" https://s5.51cto.com/wyfs02/M01/A7/11/wKioL1ngOGbQC1uYAABGkSV74Xo631.png-wh_500x0-wm_ 3-wmp_4-s_3102568380.png "title=" 8.png "alt=" Wkiol1ngogbqc1uyaabgksv74xo631.png-wh_50 "/>

[]: You can omit to write, or you can choose to use

{}: A vertical bar "|" is generally included in curly braces, which means that only one can be selected from all projects and only one use is selected, "|" With or with the intention

<>: What must be written

...: can have more content


Ways to differentiate between internal and external commands:

650) this.width=650; "Src=" https://s5.51cto.com/wyfs02/M01/A7/11/wKioL1ngOKKhkWvtAAAITOAeX0E872.png-wh_500x0-wm_ 3-wmp_4-s_3471878539.png "title=" 9.png "alt=" Wkiol1ngokkhkwvtaaaitoaex0e872.png-wh_50 "/>

#type COMMAND

If the result of the search appears as "inline" or "Buildin", it is an internal command;

650) this.width=650; "Src=" https://s5.51cto.com/wyfs02/M02/08/5B/wKiom1ngO5egEh-9AAAIkJ4Awyg832.png-wh_500x0-wm_ 3-wmp_4-s_3940316005.png "title=" 10.png "alt=" Wkiom1ngo5egeh-9aaaikj4awyg832.png-wh_50 "/>

The rest of the results are external commands;

The help of internal commands is obtained without the use of the Man manual, but by the aid command;

650) this.width=650; "Src=" https://s2.51cto.com/wyfs02/M00/A7/11/wKioL1ngOZaBKA8yAABrxt6rRKc207.png-wh_500x0-wm_ 3-wmp_4-s_3666335906.png "title=" 11.png "alt=" Wkiol1ngozabka8yaabrxt6rrkc207.png-wh_50 "/>

# Help Buildin_command




2. Get help with the Whereis command

650) this.width=650; "Src=" https://s1.51cto.com/wyfs02/M01/A7/11/wKioL1ngOg3Qa9AzAAANWozEoOs926.png-wh_500x0-wm_ 3-wmp_4-s_3732798761.png "title=" 12.png "alt=" Wkiol1ngog3qa9azaaanwozeoos926.png-wh_50 "/>

You can view the program's binaries, source code files, and where the help manuals are located

650) this.width=650; "Src=" https://s3.51cto.com/wyfs02/M02/A7/11/wKioL1ngOmWDi3UPAACPWIMkdDU344.png-wh_500x0-wm_ 3-wmp_4-s_69994585.png "title=" 13.png "alt=" Wkiol1ngomwdi3upaacpwimkddu344.png-wh_50 "/>


3.whatis Command

650) this.width=650; "Src=" https://s1.51cto.com/wyfs02/M00/A7/11/wKioL1ngOrnQw11sAAAMVErY21w833.png-wh_500x0-wm_ 3-wmp_4-s_2379336326.png "title=" 14.png "alt=" Wkiol1ngornqw11saaamvery21w833.png-wh_50 "/>

You can get the description of the manual page of the command that is matched to


4.which command

650) this.width=650; "Src=" https://s1.51cto.com/wyfs02/M00/08/5B/wKiom1ngPe-SmFEDAAAKdiF1TzE107.png-wh_500x0-wm_ 3-wmp_4-s_4281571133.png "title=" 15.png "alt=" Wkiom1ngpe-smfedaaakdif1tze107.png-wh_50 "/>

650) this.width=650; "src=" Https://s4.51cto.com/wyfs02/M02/08/5B/wKiom1ngPmKSpBToAAAJFk_M5cQ874.png "title=" 16. PNG "alt=" Wkiom1ngpmkspbtoaaajfk_m5cq874.png "/>

You can show how the aliases of the commands are defined and the path to the binary files of the commands


5.info command

Info COMMAND

650) this.width=650; "Src=" https://s5.51cto.com/wyfs02/M01/A7/11/wKioL1ngPkfwT7ToAACOKhfjEy0117.png-wh_500x0-wm_ 3-wmp_4-s_3031117758.png "title=" 17.png "alt=" Wkiol1ngpkfwt7toaacokhfjey0117.png-wh_50 "/>

Get an online Help document for the command


6. There are many programs that have their own help documentation

650) this.width=650; "src=" Https://s2.51cto.com/wyfs02/M00/08/5B/wKiom1ngQbqRGZCNAAAPWnSnWnU902.png "title=" 18. PNG "alt=" Wkiom1ngqbqrgzcnaaapwnsnwnu902.png "/>

/usr/share/doc/app_name-version/readme

README: Information about the program

Install: Installation information for the program

Changes: Information about the course of the program's version change

LICENSE: Type of license followed by the program (open source and closed)

Open Source License:

Gpl

Lgpl

Bsd

Apache

MIT


7. Search Engine

Google

Kernel kernel related content text format is more: PDF

MySQL site: 51cto.com


8. Documentation information in the relevant site site:

Wiki

FAQs


9. Official documents provided by the official site of the issuer of the program


10. Reference books:

Mainly in the following publishing house publication is subject to:

O ' Reiley Publishing house

Wrox Publishing House

Electronic Industry Publishing House



The philosophical thinking of Linux:


1. All Documents

Linux abstracts almost all of the data and resources in the form of files, even hardware, sockets used by network communication devices, and pipelines.

File: A set of streaming data (binary fragments) with boundaries located in the storage device;


2. Composed of a large number of single small programs, but can achieve complex tasks

Single function: Each small program only do one thing, only to achieve a function, and to do the best

Complex tasks: We can combine multiple small programs as perfectly as possible according to our business logic or business type, so that the small programs complement each other and function to the extreme


3. Try to avoid direct interaction with users

in the programmatic, systematic, platform, automated operation and maintenance space, people are extremely prone to error a link, try to avoid direct interaction with users can as far as possible ensure the accuracy of the results and the efficiency of the process;

Easy to implement automation in a programmatic way


4. Use a plain text file to save the program's configuration information

You can use the text Editing tool to parse a program's error cause when a program error or execution is not necessary, rather than relying on a binary file

















How to get help in Linux system and the philosophical thought of Linux system

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.