GNU parallel for Embarrassingly Parallel Tasks
GNU parallel runs tasks in parallel across CPU cores. It's faster than xargs and easier than writing a job queue. Here's when and how to use it.
All the articles with the tag "cli".
GNU parallel runs tasks in parallel across CPU cores. It's faster than xargs and easier than writing a job queue. Here's when and how to use it.
jq is JSON on the command line. Here are 5 one-liners that actually solve real problems: filtering, extracting, transforming, combining, and debugging.
xargs and while read both loop over input, but they handle arguments, signals, and performance differently. Here's when to use each.
Practical find command examples: -mtime, -newer, -type, -exec vs xargs, -not, size filters. The patterns you google every time.
Use strace to trace system calls and debug mysterious errors without reading source code.
Copy and paste from the Linux terminal without a mouse. Master xclip, xsel, wl-copy, and integrate clipboard with tmux and SSH.
Master lsof to find port conflicts, trace deleted files eating disk, and debug network connections.
Schedule one-off Linux tasks with `at` instead of cron. Learn syntax, queue management, batch jobs, and when to use it for delayed reboots and reminders.
grep is more powerful than you think — regex patterns, context flags, recursive search, and piping tricks that save hours of log digging.
The Linux commands every sysadmin reaches for daily — file ops, process management, networking, and text manipulation you can't live without.
Use docker cp to move files between running containers and your host machine — no volumes needed for one-off file transfers.
Run multiple commands in one docker exec call using sh -c — pipe commands, chain with && or ;, and avoid repeated container roundtrips.