Command Brief introduction and the philosophical thought of Linux

Source: Internet
Author: User


Command Brief introduction and the philosophical thought of Linux

There are a number of ways to get commands, and I probably know several ways to do this:

1. Use the man command for help; 2. Use the Whereis command to get help, 3.whatis command, 4.which command 5.info Command 6. The program's own Help document; 7. Search engine searches 8. Document information for the relevant site site 9. Official documentation of the official site of the program issuer 10. Reference books.

1.man: Is the command manual for Linux external commands. It is roughly divided into nine parts: (1) User commands (commands that all users can execute), (2) system calls, (3) C library calls, (4) Equipment and special files, and (5) profile systems; (6) Game-related Help information, (7) Miscellaneous, (8) System Management class commands, (9) kernel-related help information. There are some common fields in each man Handbook: Name: A simple description of the program names and related functions; Synopsis: The syntax format used by the command; Description: Detailed description of the program; options: A detailed description of the use and meaning of the option ; Author: Information of the program author; examples: example of the use of a command program; reporting bugs: information contained in a reporting program; see also: additional references; file: Other documentation related to the program, such as configuration files.

2.whereis command: You can view the binary files of the program, the source code files and the location of the Help manual ; 3.whatis command: You can get the description information of the command manual page that is matched to; 4.which command: You can display the way the command alias is defined and the path of the command's binary file; 5.info command: Info command gets the online Help document for the command; 6. The program comes with help documentation: (1) Readme: Information about the program, (2) Install: Installation information of the program, (3) Changes: Change of program version, (4) License: The type of license that the program follows. 7. Search engine: such as: Google, etc. 8. Related website site such as: Wiki,faq. 9. Official documentation of the issuer of the program, which does not say much; 10 reference books: O ' Reiley,worx, books published by the electronics industry press.

Simple System Management Class commands: 1. Logout: (in Linux for launch login): Exit,logout,ctrl+d. 2. Reboot (reboot): Turn off all processes running in memory, shut down the system kernel, recharge the process for all computer parts, load the kernel, launch the application, print the login prompt.

The philosophical Thinking of Linux: 1. All documents: Linux abstracts almost all of the data and resources into files, even hardware, sockets and pipelines used by network communications devices. Files: All-in-a-border streaming data on storage devices 2. Consists of a number of small programs with a single function, but can achieve complex tasks; (1) Single function: Each small program only do one thing, only to achieve a function, and do the best; (2) Complex task: According to the type of business, the best combination of multiple small programs, so that multiple small programs to complement each other, the function to the extreme. 3. Possible avoidance and use Direct user interaction: In a programmatic, systematic, platform-based, automated operations space, people are extremely error-prone links, to avoid interaction with users can ensure the results of accurate and efficient process, easy to program the implementation of automated tasks 4. Save the program's configuration information with a plain text file: You can use the Text Programming tool to parse the error cause of the program without having to rely on a binary file when the program is in error or does not perform as smoothly as possible.

This is a personal summary of some of my knowledge, the use of orders or need more practice to be able to grasp, I hope to be helpful to everyone.









This article from the "Computer Foundation" blog, reproduced please contact the author!

Command Brief introduction and the philosophical thought of 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.