Contents
26 chapters. We have grouped them here by stage of the journey; each ends with a “What you can do now” recap and, almost always, a lab.
Getting started, safely
- 1What an Operating System Is and Why Linux Matters
- 2Distributions and a Safe Practice Environment
- 3Your First Desktop: A Closer Look at Linux Mint
The terminal and files
- 4The Terminal: Your First Conversation with the System
- 5The File System Tree and Paths
- 6Creating, Copying, Moving, and Deleting Files
- 7Text Files: Reading, Editing, Searching
Inside the system
- 8Users, Groups, root, and sudo
- 9Permissions and File Owners
- 10Installing Programs in the Terminal: Packages and Repositories
- 11Processes and System Resources: What Is Going On Inside
- 12Services, systemd, and System Logs
- 13Disks, Drives, and Archives
Networks and your own server
- 14Networking: IP Addresses, DNS, and Ports
- 15SSH: Controlling a Computer from Far Away
- 16Your Own Server: Setting Up a VPS Safely
- 17A Website: nginx, a Domain, and HTTPS
- 18Backups and Server Maintenance
Automation and tools
- 19Your First Script: Bash Basics
- 20Automation: Scheduled Tasks and Environment Variables
- 21Git: A Time Machine for Your Files
- 22Docker: A Whole Program in a Box
AI and the final project
- 23AI Models and APIs: What Is under the Hood
- 24Your Own AI Service: A Local Model or an API
- 25Final Project: From an Empty Server to an AI Assistant
- 26When Something Doesn't Work: Methodical Troubleshooting
Appendices A–G: command reference, glossary, troubleshooting tree, checklists, sources, where to go next, and the online appendix.
What the commands were tested on
| Desktop | Linux Mint 22.3 “Zena” |
|---|
| Server | Ubuntu Server 26.04 LTS |
|---|
| Debian | Debian 13 “trixie” |
|---|
| Docker | 29.x |
|---|
| Git | 2.43 (Mint 22.3), 2.53 (Ubuntu 26.04); newest 2.55 |
|---|
| nginx | 1.28 (Ubuntu 26.04 repository); newest stable 1.30.x |
|---|