Linux distribution info & kernel info
Find your Linux distro version, kernel version, and architecture with uname, lsb_release, /etc/os-release, and hostnamectl.
All the articles with the tag "bash".
Find your Linux distro version, kernel version, and architecture with uname, lsb_release, /etc/os-release, and hostnamectl.
Fix 'Argument list too long' in bash when cp or rsync chokes on thousands of files, glob loops, find + xargs, and the ARG_MAX reason behind it.
Master bash for loops, while loops, and seq for sequential counting, iterate over files, ranges, and arrays without losing your mind.
logrotate keeps your /var/log from eating the disk, configure rotation schedules, compression, and retention for any service log.
Empty directories pile up after file migrations. Prune them with find and rmdir, dry-run first, use find -delete, and handle hidden dirs without surprises.
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.
tar, gzip, bzip2, xz, zip, demystified. When to use each compression tool, speed vs ratio trade-offs, and the flags you'll actually need.
sed is the stream editor for making text substitutions, deletions, and insertions in files, the patterns you'll use 90% of the time.