<aside>
⚠️ Focus of the tutorial:
Word splitting and shell scripting.
</aside>
⁉️ What?
- Shells are command interpreters → execute commands
- Command-line shells are programmable, powerful tools
- bash is the most popular used shell by Unix-like systems (other ones are dash, zsh, etc.) Dash is the one we will be using in this course
- The course will focus on the core features provided by all shells (POSIX-standard)
🗒️ Rules:
- Variables
- Commands
- Double quotes
- Single quotes
- Here documents
- Arithmetic
- Word splitting
- Filename expansion (Globbing)
- Pipelines
- I/O redirection
if
statements and while
/ for
loops