SCRIPTING AND SHELL 脚本和Shell

bash scripting

From commands to scripts Input and output Command-line arguments and functions Variable scope Control flow Loops Arrays and arithmetic