"Linux command, editor and Shell Programming" Third Edition study notes---003

Source: Internet
Author: User

Shell Preparation

1. Identify the shell type

Echo

Echo $BASH

Echo $SHELL

The top three command results are:

/bin/bash

2, Terminal common operation

A, delete a single character c+h or BACKSPACE key

B. Delete single word c+w

C, delete a single row c+u

d, repeat edit command line arrowup or Arrowdown

E, interrupt command execution C+c

3. Switch to root user

A, after the SU command, enter the root password

b, sudo command, enter the user password, the user who needs to execute the command in the sudo group

4. Document View

A. Using Man

1), User command

2), System call

3), sub-routines

4), Equipment

5), file format

6), Games

7), other

8), System Management

9), kernel

10), New

b, apropos keyword search, you can not complete accompany; Whatis keyword search, exact match;

C, permissions

5. Shell (Command interpreter and programming language)

A, file name generation (wildcard characters and fuzzy file references)

B, auto-completion (command, file name, directory name, variable name, etc. complete)

C, device-independent I/O (I/O redirection, devices and files)

D, Job control (run multiple jobs, can switch between jobs)

E, Shell functions (interpreter, interpreted language, Shell function)

6. Inter-process communication

A, pipe, one output as another input

b, filter, the reasonable content output

7. System Management

A, set up the system

B. Install the SOFTWARE

C. Edit the configuration file

D, service management, etc.

8. Many use tools (sort grep, etc.)

"Linux command, editor and Shell Programming" Third Edition study notes---003

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.