Leanpub Header

Skip to main content

Linux System Administration: From CLI Basics to Server Operations

A practical, problem-solving guide to managing, automating, and troubleshooting Linux environments.

The instructor has published 12% of this course.Last updated on 2026-09-24

"A user reports an app is down. Disk is at 100%. SSH is timing out. What’s your next move?"

Stop memorizing endless command lists. Learn how to diagnose, fix, and automate real enterprise Linux environments.

📖 Linux System Administration: From CLI Basics to Server Operations 🛠️ Coming soon. Master the terminal, own the server.

Minimum price

$20.00

$67.00

You pay

Author earns

$

Also available for 1 course credit with a Learner Membership

PDF
EPUB
WEB
About

About

About the Course

Take your Linux skills from terminal beginner to confident System Administrator.

Many Linux books teach you syntax. Linux System Administration: From CLI Basics to Server Operations teaches you operational engineering.

Rather than listing hundreds of obscure flags, this book builds an architectural mental model of Linux. You will learn how the kernel interacts with hardware, how systemd manages services, how networking flows through the stack, and how to systematically diagnose failures when production services go down.

Key Highlights:

  • Dual-Ecosystem Approach: Covers both Debian/Ubuntu and RHEL/Rocky Linux environments.
  • Real-World Scenarios: Learn how to handle full disks, permission errors, failed web services, and SSH connection timeouts.
  • Hands-on Labs: Over 50+ practical exercises divided into Practice, Challenge, and Troubleshooting levels.
  • Production Capstone: Build, secure, automate, and troubleshoot a complete Linux server setup.

Perfect for Junior SysAdmins, DevOps Engineers, Cloud Practitioners, Software Engineers, and IT Professionals preparing for real-world Linux infrastructure responsibilities.

Transparency Statement on AI:

I believe in complete transparency with my readers. All technical concepts, command breakdowns, troubleshooting scenarios, and hands-on exercises in this book represent my own knowledge and real-world experience, originally drafted in Spanish. AI technology was utilized strictly as a translation and linguistic assistance tool to adapt the content into clear, accurate technical English. No technical content, code snippets, or explanations were generated by AI.

Share this course

Instructor

About the Instructor

Material

Course Material

  • Table of Contents

  • Module 1: Foundations & The Discovery Mindset

  • Module 2: File System & Text Processing

  • Module 3: Access Control & Process Management

  • Module 4: Service & Package Administration

  • Module 5: Networking & Secure Remote Access

  • Module 6: Storage & Logging

  • Module 7: Automation & Scripting

  • Module 8: Practical Application & Capstone

  • Chapter 1 — System Architecture & The Linux Model

  • What You Will Learn

  • PART 1 — CONCEPT & ARCHITECTURE

  • 1.1 What “Linux” Actually Means

  • 1.2 Kernel Space, User Space, and the System Call

  • 1.3 What the Kernel Does: Six Jobs

  • 1.4 “Everything Is a File”

  • 1.5 The Boot Sequence: From Power Button to Login Prompt

  • 1.6 Distributions and Families

  • 1.7 The Administrator’s Model: Users, Privilege, and Mindset

  • PART 2 — COMMANDS & USAGE

  • 2.1 Identify the System

  • 2.2 Watching the User/Kernel Boundary

  • 2.3 Reading Kernel State: Memory and Load

  • 2.4 Devices and Kernel Modules

  • 2.5 Boot Artifacts and PID 1

  • 2.6 Kernel Messages

  • 2.7 A First Look at Privilege

  • PART 3 — WHAT COULD GO WRONG?

  • 3.1 Following Advice for the Wrong Distribution

  • 3.2 “Linux Ate All My RAM!” (and the Real Memory Problem)

  • 3.3 Operation not permitted vs Permission denied

  • 3.4 The Kernel You Installed Is Not the Kernel You’re Running

  • 3.5 Boot Failures Map to Stages

  • 3.6 Containers and the Shared Kernel

  • 3.7 Working as root by Reflex

  • 3.8 Which Layer Is Broken? (Diagnostic Map)

  • PART 4 — HANDS-ON EXERCISES

  • LEVEL 1 — PRACTICE (Guided)

  • Practice 1.1 — Who, where, what?

  • Practice 1.2 — Watching syscalls

  • Practice 1.3 — Kernel state as files

  • Practice 1.4 — Devices and modules

  • Practice 1.5 — Boot artifacts

  • Practice 1.6 — Kernel messages and privilege

  • LEVEL 2 — CHALLENGE (Deduce the Answers)

  • Challenge 2.1 — Which family, which package manager?

  • Challenge 2.2 — The container that “lies”

  • Challenge 2.3 — Count the doorways

  • Challenge 2.4 — Who is your grandparent?

  • Challenge 2.5 — How much memory can I really use?

  • Challenge 2.6 — Module detective

  • Challenge 2.7 — Where does boot time go?

  • LEVEL 3 — TROUBLESHOOTING (Simulated Failures)

  • Scenario 3.1 — “The runbook says yum”

  • Scenario 3.2 — “Which server is really out of memory?”

  • Scenario 3.3 — “Three servers, three dead boots”

  • Scenario 3.4 — “modprobe can’t find its own modules”

  • Scenario 3.5 — “Permission denied? But I’m in the sudo group”

  • CHAPTER SUMMARY CHECKLIST

  • Chapter 2 — The Command Line & The Art of Discovery

  • What You Will Learn

  • PART 1 — CONCEPT & ARCHITECTURE

  • 1.1 Four Words That Get Confused: Terminal, TTY, Shell, Program

  • See it on your own machine

  • 1.2 Anatomy of a Command Line

  • The most important idea in this chapter: the shell goes first

  • 1.3 What Happens When You Press Enter: fork, exec, wait

  • 1.4 Five Kinds of “Commands” and How the Shell Finds Them

  • 1.5 The Discovery Toolkit: Where the Truth Lives

  • The manual is divided into sections

  • Reading a SYNOPSIS like a professional

  • The Discovery Loop

  • PART 2 — COMMANDS & USAGE

  • 2.1 Orientation Commands: “Where am I, and who am I?”

  • 2.2 Navigating and Listing

  • 2.3 Asking the System About a Command

  • 2.4 Reading Documentation

  • Quick help

  • The manual pager

  • Searching by task

  • info and package documentation

  • 2.5 Working Fast: Completion, History, and Line Editing

  • 2.6 Quoting and Expansion: Controlling What the Shell Does

  • 2.7 Environment Variables and Exit Statuses

  • 2.8 Discovery in Practice: a Worked Example

  • PART 3 — WHAT COULD GO WRONG?

  • 3.1 command not found (exit status 127)

  • 3.2 Permission denied (exit status 126)

  • 3.3 bad interpreter: No such file or directory on a script that exists

  • 3.4 The Shell Changed Your Command: Spaces, Globs, and Dash-Names

  • 3.5 Alias Shadowing: Your Command Is Not What You Think

  • 3.6 No manual entry for ... and nothing appropriate

  • 3.7 Terminal Problems: Garbled Output and the “Frozen” Screen

  • 3.8 Argument list too long

  • 3.9 History Expansion Bites Back

  • 3.10 Quick Reference: Symptom → First Diagnostic

  • PART 4 — HANDS-ON EXERCISES

  • LEVEL 1 — PRACTICE (Guided)

  • Practice 1.1 — Orientation

  • Practice 1.2 — What kind of command is it?

  • Practice 1.3 — Reading the manual

  • Practice 1.4 — History and line editing

  • Practice 1.5 — Quoting and expansion

  • Practice 1.6 — Exit statuses

  • LEVEL 2 — CHALLENGE (Deduce the Commands)

  • Challenge 2.1 — The biggest files first

  • Challenge 2.2 — Which manual page describes the file format?

  • Challenge 2.3 — Same name, different implementations

  • Challenge 2.4 — Awkward filenames

  • Challenge 2.5 — Build a directory tree in one command

  • Challenge 2.6 — Conditional feedback

  • Challenge 2.7 — Investigate an unfamiliar tool

  • LEVEL 3 — TROUBLESHOOTING (Broken Environments)

  • Scenario 3.1 — “The backup tool has vanished”

  • Scenario 3.2 — “The script exists but Linux says it doesn’t”

  • Scenario 3.3 — “cat prints files backwards”

  • Scenario 3.4 — “The file that can’t be deleted”

  • Scenario 3.5 — “The dead terminal”

  • CHAPTER SUMMARY CHECKLIST

The Leanpub 60 Day 100% Happiness Guarantee

Within 60 days of purchase you can get a 100% refund on any Leanpub purchase, in two clicks.

See full terms...

Earn $8 on a $10 Purchase, and $16 on a $20 Purchase

We pay 80% royalties on purchases of $7.99 or more, and 80% royalties minus a 50 cent flat fee on purchases between $0.99 and $7.98. You earn $8 on a $10 sale, and $16 on a $20 sale. So, if we sell 5000 non-refunded copies of your book for $20, you'll earn $80,000.

(Yes, some authors have already earned much more than that on Leanpub.)

In fact, authors have earned over $15 million writing, publishing and selling on Leanpub.

Learn more about writing on Leanpub

Free Updates. DRM Free.

If you buy a Leanpub book, you get free updates for as long as the author updates the book! Many authors use Leanpub to publish their books in-progress, while they are writing them. All readers get free updates, regardless of when they bought the book or how much they paid (including free).

Most Leanpub books are available in PDF (for computers) and EPUB (for phones, tablets and Kindle). The formats that a book includes are shown at the top right corner of this page.

Finally, Leanpub books don't have any DRM copy-protection nonsense, so you can easily read them on any supported device.

Learn more about Leanpub's ebook formats and where to read them

Write and Publish on Leanpub

You can use Leanpub to easily write, publish and sell in-progress and completed ebooks and online courses!

Leanpub is a powerful platform for serious authors, combining a simple, elegant writing and publishing workflow with a store focused on selling in-progress ebooks.

Leanpub is a magical typewriter for authors: just write in plain text, and to publish your ebook, just click a button. (Or, if you are producing your ebook your own way, you can even upload your own PDF and/or EPUB files and then publish with one click!) It really is that easy.

Learn more about writing on Leanpub