Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Linux Basics

Before diving into commands, it helps to understand the ground you are standing on. This section covers the foundations: what Linux actually is, how the terminal, shell, and kernel relate, how to open a terminal, the keyboard shortcuts that make the command line feel fast, and where everything lives in the filesystem.

What This Section Covers

Why This Matters

Every command in the rest of this book assumes you know a few things first:

  • What “Linux” means in practice (and why your friend’s “Linux” looks different from yours)
  • Why the thing you type is not the thing that runs it
  • Where to type it, and how to get around once you are there
  • Which keys make typing at the prompt faster and safer
  • Where configuration, logs, and programs live on disk

Learn these five pages once and every later command makes more sense. Skim them again whenever something feels mysterious.


Where to Go Next

Once you are comfortable here, continue with CLI Navigation to learn the commands you will use every single day, then File Operations to work with files themselves.