3.1.4 Shell scripting
Every entry filed under Shell scripting and its subtopics.
What kind of help
Works on
What do these mean?
- Beginner
- You are new to this topic.
- Intermediate
- You use it, and want to get better.
- Advanced
- You know it well and need the details.
- Guided project
- Build something small from start to finish, step by step.
- Explains an idea
- Plain words on how something works and why.
- Step by step
- Numbered steps to get one task done.
- Cheat sheet
- Commands and options in a table, to look up fast.
- Fixes an error
- An error message, what it means, and how to solve it.
4 entries match these filters
- 0418 Bash scripting fundamentals: variables, conditions, loops, functions The core building blocks of a bash script: variables and quoting, if and test, for and while loops, functions, exit codes and… Beginner · Explains an idea · Linux, macOS Article Basics · Shell scripting 15 Oct 2026
- 0419 Quoting and word splitting in bash: why “$var” and arrays save you Single quotes, double quotes, no quotes and arrays: how bash splits words and expands globs, and the small set of habits that… Intermediate · Explains an idea · Linux, macOS Article Basics · Shell scripting 15 Oct 2026
- 0423 Fix: bad interpreter or command not found after a script is copied from Windows (CRLF) A script edited on Windows carries invisible carriage returns, so Linux looks for /bin/bash^M. How to spot CRLF line endings, convert them… Beginner · Fixes an error · Linux, macOS, Windows Article Basics · Shell scripting 15 Oct 2026
- 0265 Turn a one-liner into a robust bash script: strict mode, options, logging, traps, locking and a schedule Grow a find-and-gzip one-liner step by step into a dependable bash script with strict mode, getopts, usage text, logging, error traps, dry-run,… Intermediate · Guided project · Linux, macOS Article Services & systemd · Shell scripting 15 Oct 2026