Getting Started #
Style and Design Strategy #
Useful Helpers #
- ShellCheck - just use it always
- Boilerplate
- Pure Bash Bible
Variables and Constants #
Redirection #
Functions #
Flow Control #
- if/then Constructs
- test Builtin
- File Tests
- Integer Comparison
- String Comparison
- Logical Operators
- Control Operators
Looping #
Branching #
Exit Status #
Interactivity #
IFS #
Troubleshooting #
See also #
Parameters #
Parameter Expansion #
- Parameter Expansion
- Manage Empty Variables
- Variable Name Expansion
- String Operations
- Case Modification
Arithmetic Evaluation and Expansion #
Operators #
- Unary Operators
- Arithmetic Operators
- Assignment and Increment/Decrement Operators
- Bit Operations
- Logical and Comparison Operators
Advanced Arithmetic in the Shell #
See: bc