Bash for loops sequential counting
Master bash for loops, while loops, and seq for sequential counting — iterate over files, ranges, and arrays without losing your mind.
All the articles with the tag "scripting".
Master bash for loops, while loops, and seq for sequential counting — iterate over files, ranges, and arrays without losing your mind.
Count files in a directory (recursively or not) with find, ls, and tree — quick one-liners for when du just isn't telling you enough.
Extract tar.gz, tar.bz2, tar.xz — flags demystified, compression compared, directory extraction, and the gotchas that trip you up.
logrotate keeps your /var/log from eating the disk — configure rotation schedules, compression, and retention for any service log.
Master MySQL from the command line: connect, query databases, manage users, repair tables, optimize—everything you keep Googling, one reference.
Remove spaces and special characters from filenames using bash loops, rename, find, and parameter expansion tricks.
sed is the stream editor for making text substitutions, deletions, and insertions in files — the patterns you'll use 90% of the time.
Forget bash scripts scattered across your repo. make is a simple task runner that's been around for 50 years and works everywhere.
Stop committing broken code. Git hooks catch mistakes before they hit CI, save hours of debugging, and make your team love you.
Master bulk file renaming on Linux with rename, vidir, fd, and mmv. The right tool for every scenario from regex rewrites to visual editing.
Shell scripts hit a complexity wall. Go gives you a single binary, fast startup, great stdlib, and goreleaser for proper distribution. Here's how to build real CLI tools.
Make your first open source contribution without embarrassing yourself. Find good first issues, fork correctly, write real PR descriptions, and handle review like a pro.