Articles in this series
chmod 🔐 Modifies file/directory permissions (See here or here for more details). Permission expressions are mostly formatted as...
cut ✂️ Cuts/extracts text/fields out of text streams. ⚠️ Index values are one-based. Cut characters on a range -c echo "Hello World\!\nGoodbye\!" |...
md5sum/shasum #️⃣ Checks/computes MD5/SHA checksum of files. Compute MD5 checksum md5sum md5sum ~/.bashrc ~/.zshrc...
head 📜 Displays file content from beginning. Print first N lines of a file -n head -n 5 ~/.bashrc Print all but N last lines -n -N tail -n -3...
tail ⛵ Display or follow file content. ℹ️ Here, following means streaming a file while it's being updated (appended). ℹ️ You can use -c in place of -n...
df 💾 Reports disk free space. See disk free space df Filesystem 1K-blocks Used Available Use% Mounted on tmpfs 1603540 ...