Skip to content
Guest
← All References
Linux Ubuntu / Debian / macOS / GNU Bash

Linux CLI & Bash Quick Reference

Everyday Linux commands for navigation, pipes, permissions (chmod), server health, and strict Bash scripting.

grep -i 'error' app.log | sort | uniq -c

Files, Pipes & Permissions

CommandPurposeExample
ls -lah / mkdir -pList all files / create nested dirsmkdir -p app/dist
grep -rnRecursive text search with line numbersgrep -rn "TODO" src/
chmod 600 / 755Private key / executable script permissionschmod +x deploy.sh
df -h / free -hDisk space and RAM usagedf -h && free -h
set -euo pipefailStrict fail-fast Bash script header#!/usr/bin/env bash

Search courses, lessons, and references

Type to search across all courses, lessons, and quick references.

Press Esc to close Powered by Pagefind