Directory FileCount
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.
All the articles with the tag "cli".
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.
Your disk is full and du is lying to you. ncdu, df, and find tricks to track down space hogs before your server goes down at 2 AM.
Extract tar.gz, tar.bz2, tar.xz — flags demystified, compression compared, directory extraction, and the gotchas that trip you up.
Use su with a specific shell to switch users without the default login shell — useful when /etc/passwd points to something unexpected.
Master MySQL from the command line: connect, query databases, manage users, repair tables, optimize—everything you keep Googling, one reference.
Clean up empty directories with find and rmdir — safely prune orphaned dirs left after file migrations.
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 docker stats. ctop and lazydocker give you real-time container insights with less friction than typing commands.
Forget bash scripts scattered across your repo. make is a simple task runner that's been around for 50 years and works everywhere.
HashiCorp Vault vs Infisical compared: secrets management for DevOps teams, Docker Compose setup, SDK examples, and when complexity is worth it.
Master bulk file renaming on Linux with rename, vidir, fd, and mmv. The right tool for every scenario from regex rewrites to visual editing.