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.

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.

Mastering xargs in Linux

Mastering xargs in Linux

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