Back to the bookshelf
Bash Scripting Handbook book cover

A LITTLE LONGER THAN A BLOG POST

AuthorIndependent

Bash Scripting Handbook

A practical handbook for writing useful shell scripts

Why I wrote it

A shell script doesn’t have to be clever to be useful. I wanted a handbook you could dip into when you’re writing one: find the bit you need, try an example, and get back to what you were doing. Variables, loops, quoting, redirection—the small things that make a script work the way you expect.

Who it’s for

You know your way around a terminal and want to turn a few commands into something repeatable. Read it from the beginning, or keep it nearby when Bash does something you weren’t expecting.

TAKE A LOOK FIRST

Read the free preview

The public preview covers the first three chapters: Getting Started, Built-in Commands, and Arrays. A useful way to see whether the explanations and examples work for you.

Read the free preview
Visit the book’s website