find Flags You Keep Forgetting
Practical find command examples: -mtime, -newer, -type, -exec vs xargs, -not, size filters. The patterns you google every time.
All the articles with the tag "bash".
Practical find command examples: -mtime, -newer, -type, -exec vs xargs, -not, size filters. The patterns you google every time.
Signals explained: SIGTERM vs SIGKILL, graceful shutdown, and when to actually use kill -9.
Write bash scripts that don't silently fail, set -euo pipefail, error handling, input validation, and logging patterns for production scripts.
By default bash history is lost across multiple terminal sessions. Fix it with HISTAPPEND and PROMPT_COMMAND so nothing gets overwritten.
Something's squatting on port 8080 and you need to know what. ss, netstat, and lsof one-liners to find the PID behind a port fast.
nohup, disown, and & all keep Linux processes alive after logout, but they work differently. Here's which one to reach for, when, and why.
echo is convenient but inconsistent across systems; printf is portable and precise, know when to use each and avoid the gotchas.
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.
Run multiple commands in one docker exec call by piping a heredoc to the container shell, chain dependent steps and skip repeated container roundtrips.
xargs turns stdin into arguments, build complex pipelines, run parallel jobs, and handle filenames with spaces without breaking everything.
Advanced FFmpeg techniques, filter graphs, stream mapping, subtitle burning, speed adjustment, and batch processing scripts.