Find Files Safely with -print0, xargs -0, and -exec
Handle spaces, quotes, newlines, empty matches, pruning, and expression precedence before a find command feeds another program.
6 min read
Topic
8 articles
Shell languages, pipelines, expansion, and portable command workflows.
Handle spaces, quotes, newlines, empty matches, pruning, and expression precedence before a find command feeds another program.
6 min read
Explain why the command you typed is not the executable you expected, then prove each resolution layer with portable and Bash-specific tools.
8 min read
A controlled 11 MB repository shows the tools agree when scope matches, while their recursive defaults intentionally select different files.
10 min read
A local HTTP fixture exposes decisive differences in 404 exit codes, redirect following, output, retry policy, and protocol scope.
13 min read
Follow ls -la from a terminal keystroke through shell parsing, command lookup, process replacement, filesystem calls, and pixels on screen.
13 min read
Stop memorizing 755. Read owner, group, and other permissions as answers to concrete file and directory operations.
13 min read
Replace the punctuation model of `|` with connected processes, file descriptors, bounded kernel buffers, and backpressure.
14 min read
Keep everyday automation portable by treating the shell as a language boundary, checking tools explicitly, and testing the unhappy path.
9 min read