Fan out work to background processes and wait for them all.
All snippets
The latest code snippets.
Run the same command on a list of hosts with -o BatchMode for key-only auth.
Append a cron line idempotently with grep -q before crontab.
Create a gzipped tarball, excluding noisy dot-dirs.
find with -type f, size filter, and -exec for batch action.
Stdlib short-option parsing with the `getopts` builtin.
Use `trap` to remove a tempdir even when the user hits Ctrl-C.
Use `command -v` — portable, no subshell, returns nonzero if missing.
GNU date supports relative expressions — yesterday, +7 days, etc.
Print specific columns and filter by a numeric threshold.