Bash Scripting Tutorial
The Bash shell is both a command interpreter and a programming language. Although there are several other shells available, Bash is the most widely used.
Bash includes a vast array of commands and utilities and makes use of a wide variety of special characters and symbols to provide a rich set of useful features. It also provides these common programming language constructs:
- Variables: provided by the shell as well as user-defined.
- Arithmetic and logical operators.
- Flow control: conditionals, loops, and other control structures.
Bash is best suited for relatively short simple programs. It is a popular choice for system administration tasks.
To get started, find out how to set up and run shell scripts.