The first chapter of the Linux command line and script programming encyclopedia

Source: Internet
Author: User
Tags message queue

1,

2,linux Kernel: Memory management, process management, file management, device management.

Where memory management such as:

View the system's memory status through the command cat/proc/meminfo. View shared memory, semaphores, message queue information through IPCS. Ipcs-m can view shared memory information.

Process Management: You can use PS aux to view process information.

Device Management: Character devices, block devices, network devices.

A character device represents a device that processes one character at a time. such as terminal.

A block device represents a device that processes large chunks of data at once. such as HDD SDA.

A network device represents a device that takes a packet for receiving and sending. such as network card, loopback device.

The device is identified by a "node". Each node has a unique numeric pair that is identified by the Linux kernel. The values are wrapped in a master device number, a secondary device number, and so on.

8 of these represent the main device number, and 0 represents the secondary device number.

3,gnu Tool chain--shell:

Shell:linux systems typically provide several shells, such as bash shell, zsh, Ash, and so on. Usually the default shell is the bash shell.

The command line runs an interactive shell. Users can use commands or execute programs. You can also write a command to a file in the form of a script. Call this file a shell script.

The first chapter of the Linux command line and script programming encyclopedia

Related Article

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.