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
- What Is Linux? — the kernel, open source, and the world of distributions
- Terminal vs Shell vs Kernel — the three layers that make a Linux system work
- Opening a Terminal — how to get to a command prompt on any system
- Keyboard Shortcuts & Tab Completion — work faster without touching the mouse
- The Filesystem Hierarchy — what
/bin,/etc,/var, and the rest of/actually are
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.