Linux

Command-line fluency for developers and server admins.

3 articles

A terminal running a Bash script that starts with set -euo pipefail
LinuxIntermediate

Writing Bash Scripts That Don't Break

Most shell scripts work fine until a file name has a space in it or a command fails halfway through. Learn strict mode, quoting, safe temporary files and cleanup traps, then put it all together in a real backup script.

6 min read
A process tree: a shell forks a child, the child execs a new program, exits, and is reaped by its parent
LinuxAdvanced

Linux Processes Under the Hood: fork, exec, Signals and Zombies

What really happens when you run a command: fork and exec, exit codes and wait, how signals stop programs (and how to shut down gracefully), why zombies appear, and why PID 1 in a container ignores your Ctrl+C.

8 min read