Skip to content

Tag: scripting

All the articles with the tag "scripting".

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.