At present, the most popular operation and maintenance automation languages under Linux systems are shell and Python.
Shell: It is almost an operation and maintenance automation programming language that IT enterprises must use, especially in the operation and maintenance work of service monitoring, rapid business deployment, service start and stop, data backup and processing, daily analysis and other links, shell is indispensable.
ython: Is a more suitable for dealing with complex business logic, as well as developing complex operations software tools, implementing access through the web, etc.
The shell is a command interpreter that interprets and executes commands and programs entered by the user. An interactive conversational mode that responds immediately as soon as a command is entered.
How should Shell learn?
1. Consolidate the foundation of shell programming first
Basic knowledge of Shell programming, operating principles, program syntax, programming habits, and variable knowledge
2. Shell programming beginner and intermediate practical knowledge and skills
A variety of numerical operations on variables, conditional testing and comparison, if conditional judgment statements, shell functions, etc
3. Shell programming beginner and intermediate practical knowledge and skills
Case conditional statements, while loops and until loops, for loops and select loops, condition and loop control and state return values, shell arrays, etc
4. Essential knowledge for efficient shell programming
Shell script development specifications and coding habits, debugging knowledge and skills of shell scripts, configuration adjustment and optimization of shell script development environment
5. Special applications of the shell
Enterprise applications of Linux signals and trap commands, applications of expect automated interactive programs, applications of subshells and nested patterns of shell knowledge.
The shell exists in the outermost layer of the operating system, responsible for directly talking to the user, interpreting the user’s input to the operating system, and processing the output results of various operating systems, and then outputting to the screen to return to the user. All actions after entering the system username and facet and logging in to Linux are explained and performed by the shell.