Skip to content

Tag: bash

All the articles with the tag "bash".

find Flags You Keep Forgetting

find Flags You Keep Forgetting

Practical find command examples: -mtime, -newer, -type, -exec vs xargs, -not, size filters. The patterns you google every time.

Why kill -9 Is the Wrong Default

Why kill -9 Is the Wrong Default

· Updated:

kill -9 skips cleanup and leaves locks and half-written data behind. SIGTERM vs SIGKILL, the graceful shutdown pattern, pkill, and how systemd does it.

Understanding printf vs echo in Bash

Understanding printf vs echo in Bash

· Updated:

echo is convenient but inconsistent across systems; printf is portable and precise, know when to use each and avoid the gotchas.

Understanding Grep: A Comprehensive Guide

Understanding Grep: A Comprehensive Guide

· Updated:

grep is more powerful than you think, regex patterns, context flags, recursive search, and piping tricks that save hours of log digging.

Essential Linux Commands for Daily Use

Essential Linux Commands for Daily Use

· Updated:

The Linux commands every sysadmin reaches for daily, file ops, process management, networking, and text manipulation you can't live without.

Mastering xargs in Linux

Mastering xargs in Linux

· Updated:

xargs turns stdin into arguments, build complex pipelines, run parallel jobs, and handle filenames with spaces without breaking everything.