Skip to content

TheLinuxBook

Linux made clear, simple, and practical.
Easy-to-follow command guides, step-by-step examples, and visual cheat sheets.

Beginner Friendly Step-by-Step Examples Quick Cheat Sheets Hands-on Labs

Quick Start Cheat Sheet

Here are the most common daily Linux tasks and the exact commands to run:

Goal Command What It Does
List files ls -l -h Show files in current folder with sizes
Show hidden files ls -a List all files including hidden . files
Change folder cd /path/to/folder Move to a different directory
Go back home cd ~ or cd Jump straight back to your home folder
Show current folder pwd Print your current location path
Copy a file cp file.txt backup.txt Create a copy of a file
Copy a folder cp -r folder/ backup/ Copy an entire folder and its contents
Move or rename mv old.txt new.txt Rename a file or move it to another folder
Remove a file rm file.txt Delete a file permanently
Remove a folder rm -r folder/ Delete a folder and everything inside it

Explore by Topic


Where Should I Start?

  1. Essential Commands Reference — Master ls, cd, cp, mv, rm.
  2. Linux Fundamentals — Understand how files and folders are organized.
  3. Filesystem Structure — Learn what /etc, /var, /home, and /usr mean.
  4. Bash Scripting Basics — Write your first script to automate tasks.
  1. Process Management — Learn ps, top, kill, and job control.
  2. Memory Management — Monitor RAM usage with free -h and vmstat.
  3. Networking Guide — Learn ip, ping, curl, ss, and ssh.
  4. systemd Services — Create and manage background system services.
  1. Kernel Architecture — Deep dive into system calls and /proc.
  2. Performance Tuning — Monitor CPU, I/O bottlenecks with perf and eBPF.
  3. Containers Under the Hood — How namespaces and cgroups build Docker containers.
  4. Security & Hardening — Fine-tune permissions, SELinux, and capabilities.

Simple Visual Workflow

graph LR
    A[Read Simple Guide] --> B[Try Command in Terminal]
    B --> C[Check Output & Examples]
    C --> D[Master Linux Concepts]

    style A fill:#7aa2f7,color:#fff
    style B fill:#9ece6a,color:#1a1b26
    style C fill:#bb9af7,color:#fff
    style D fill:#7dcfff,color:#1a1b26