Replacing find -exec with parallel: when -exec is fast enough and when xargs -P + -L starts winning

Parallel metal rails or bars in perspective — photo by uppsychic on Pexels

Every shell-scripting tutorial recommends find ... -exec cmd {} \; for “do this command on every matching file.” It’s the classic, obvious pattern. It’s also dramatically slower than the alternatives once your file count goes past a few hundred — …

SSH brute-force fingerprints: how to read /var/log/auth.log without grep madness — awk one-liners that actually work

Multi-pane terminal session showing log output and system monitoring on a dark monitor — photo by Tima Miroshnichenko on Pexels

Open /var/log/auth.log on a public-facing server and you’ll see thousands of lines per day — failed logins, accepted logins, sudo events, cron registrations. The signal you usually care about (who’s brute-forcing me, from where, against which users?) is buried in …