From Absolute Beginner to Advanced Practitioner: A Complete Step-by-Step Guide
Introduction: Why Linux Matters
- What This Book Will Teach You
- How to Use This Book
- Prerequisites
- The Linux Philosophy
Chapter 1: Foundations — What Is Linux, Really?
- The Kernel at the Core
- Distributions and Families
- Open Source Philosophy and Community
- Where Linux Runs Today
- Your First Decision: Choosing a Distribution
- Chapter Summary
- Exercises
Chapter 2: Installing Linux — From USB to Boot
- Preparing Your Installation Media
- BIOS, UEFI, and the Boot Process
- Installing on Bare Metal
- Virtual Machines and Containers as Learning Environments
- Post-Installation First Steps
- Chapter Summary
- Exercises
Chapter 3: The Command Line — Your New Superpower
- Opening the Terminal and Understanding the Prompt
- Navigating the File System with Confidence
- Creating, Reading, Writing, and Deleting Files
- Pipes, Redirection, and Chaining Commands
- Essential Text Processing Tools
- Building Muscle Memory Through Practice
- Chapter Summary
- Exercises
Chapter 4: The Linux File System — Organization at Scale
- The Hierarchical File System Standard
- Understanding Special Directories
- Files, Directories, and Everything in Between
- Permissions, Ownership, and the chmod/chown Family
- Symbolic Links, Hard Links, and Mount Points
- Disk Usage, Quotas, and Filesystem Types
- Chapter Summary
- Exercises
Chapter 5: Users, Groups, and Authentication
- User Accounts and the /etc/passwd System
- Groups and Group-Based Permissions
- sudo and Privilege Escalation
- Architectural Trade-offs: Privilege Escalation Alternatives
- PAM: Pluggable Authentication Modules
- SSH Keys and Remote Authentication
- Access Control Lists and Mandatory Access Control
- Chapter Summary
- Exercises
Chapter 6: Shell Scripting — Automating the Mundane
- Your First Script and the Shebang Line
- Variables, Parameters, and Environment
- Conditionals, Loops, and Control Flow
- Functions, Arguments, and Modular Scripts
- Error Handling, Logging, and Defensive Programming
- Real-World Automation Recipes
- Chapter Summary
- Exercises
Chapter 7: Package Management — Software at Your Fingertips
- How Package Managers Work
- Debian and Ubuntu: APT and dpkg
List all installed packages (low-level query)
Find which package owns a specific file on the system
- RHEL, Fedora, CentOS: DNF and YUM
- Arch Linux and the Pacman Ecosystem
- Universal Packaging: Snap, Flatpak, and AppImage
- Architectural Trade-offs: Release Models and Package Philosophies
- Compiling Software from Source
- Chapter Summary
- Exercises
Chapter 8: System Administration — Keeping Systems Running
- Processes, Signals, and Process Management
- systemd: Services, Targets, and Timers
- Architectural Trade-offs: systemd and Its Alternatives
- Logging with journalctl and Log Files
- Scheduled Tasks with cron, at, and systemd Timers
- Disk Management, Partitioning, and LVM
- Backups, Monitoring, and System Health
- Chapter Summary
- Exercises
Chapter 9: Networking — Connecting Linux to the World
- Network Configuration Interfaces
- IP Addressing, Routing, and Subnets
- DNS Resolution and Configuration
- Firewalls with iptables, nftables, and firewalld
- SSH, SCP, and Secure Remote Access
- Network Troubleshooting Toolkit
- Chapter Summary
- Exercises
Chapter 10: Security — Hardening Your Linux Systems
- The Linux Security Model
- Hardening Checklist: From Baseline to Fortress
- Encryption: Disks, Files, and Communications
- Intrusion Detection and Log Analysis
- SELinux and AppArmor: Mandatory Access Control
- Case Study: Containing a Web Server Compromise
- Chapter Summary
- Exercises
Chapter 11: Development Tools — Building Software on Linux
- Compilers, Interpreters, and Runtime Environments
- Build Systems: Make, CMake, and Modern Alternatives
- Version Control with Git on Linux
- Debugging and Profiling Tools
- IDEs, Editors, and Terminal Productivity
- Continuous Integration and Deployment Pipelines
- Chapter Summary
- Exercises
Chapter 12: Containers and Virtualization — The Modern Infrastructure
- Virtualization Fundamentals: KVM, QEMU, and libvirt
- Container Technology: Docker, Podman, and OCI
- Architectural Trade-offs: Container Isolation Models
- Orchestration Concepts: Kubernetes and Beyond
- How Kubernetes Works: The Control Loop Explained
- Deployments, ReplicaSets, and the Rolling Update Mechanism
- How Services Route Traffic to Pods
- Infrastructure as Code with Ansible and Terraform
- Chapter Summary
- Exercises
Chapter 13: Performance Tuning — Making Linux Fly
- Measuring Performance: Tools and Metrics
- CPU Scheduling and Optimization
- Memory Management, Swapping, and Caching
- I/O Subsystem Tuning
- Network Performance Optimization
- Real-World Tuning Case Studies
- Chapter Summary
- Exercises
Chapter 14: Troubleshooting — When Things Go Wrong
- A Systematic Troubleshooting Methodology
- Boot Problems and Recovery Modes
- Kernel Panics and Crash Analysis
- Filesystem Corruption and Repair
- Network Troubleshooting Deep Dive
- Case Study: Diagnosing an Intermittent Application Outage
- Chapter Summary
- Exercises
