Bash fundamentals I wrote while working through shell scripting, kept as a quick reference: input and arguments, conditionals and file tests, arithmetic (including floating point with bc), case, arrays, while/until/for/select loops, reading files and embedding Python in a Bash script.
| Topic | Files |
|---|---|
| Input and arguments | 001, 002 |
| Conditionals, file tests, logical operators | 003–006, integer_comparision.md |
| Arithmetic | 007, 008 |
case statements |
009, 010 |
| Arrays | 011 |
| Loops | 012, 014–017 |
| Reading files | 013 |
| Calling Python from Bash | 030–032 |
Run any script with bash <file>.sh.