Share E-Book
Scan to open this page

Scan with your phone to open this page

Author: Brian Ward

Rating No ratings yet

Unlike some operating systems, Linux doesn’t try to hide the important bits from you—it gives you full control of your computer. But to truly master Linux, you need to understand its internals, like how the system boots, how networking works, and what the kernel actually does. In this third edition of the bestselling How Linux Works, author Brian Ward peels back the layers of this well-loved operating system to make Linux internals accessible. This edition has been thoroughly updated and expanded with added coverage of Logical Volume Manager (LVM), virtualization, and containers. You'll learn: • How Linux boots, from boot loaders to init (systemd) • How the kernel manages devices, device drivers, and processes • How networking, interfaces, firewalls, and servers work • How development tools work and relate to shared libraries • How to write effective shell scripts You’ll also explore the kernel and examine key system tasks inside user space, including system calls, input and output, and filesystems. With its combination of background, theory, real-world examples, and patient explanations, How Linux Works, 3rd edition will teach you what you need to know to solve pesky problems and take control of your operating system.

AI Reading Assistant

Whole-book reading guide from stratified index samples; jump to passages in the text

AI guide
【One-Line Pitch】 A practical, bottom-up tour of Linux internals—boot, kernel, devices, networking, filesystems, and shell—that turns curious users into confident superusers. Ideal for developers, sysadmins, and power users who want to fix problems by understanding how the system actually works rather than memorizing commands. 【Book Arc】 - **Opening (~0%–10%)**: Sets the philosophy—Linux exposes its internals rather than hiding them—and outlines the book's promise: background theory plus real-world examples so you can troubleshoot and control your system. This stage frames the reader as a "superuser" who needs both conceptual clarity and practical skill. - **Early (~10%–30%)**: Covers the foundational layers: how the system boots, from boot loaders to init (with systemd), and how the kernel manages devices, drivers, and processes. This is where you learn the skeleton of the OS—what happens before you ever see a login prompt. - **Middle (~30%–60%)**: Dives into user-space essentials: system calls, input/output, and filesystems. It also explains how development tools work and how they relate to shared libraries, bridging the gap between kernel behavior and everyday commands. This stage is the core "how it works" material. - **Late (~60%–85%)**: Expands into networking—interfaces, firewalls, and servers—plus storage topics like Logical Volume Manager (LVM). New to this edition, virtualization and containers get dedicated coverage, showing how modern Linux deployments layer on top of the base system. - **Ending (~85%–100%)**: Wraps up with shell scripting and advanced system tasks, tying together the earlier concepts into actionable skills. The final chapters emphasize writing effective scripts and examining system behavior, preparing you to solve real problems independently. 【Key Takeaways】 - **Linux rewards transparency** (Early): Unlike closed operating systems, Linux lets you see and control every layer, from boot to networking. This is the core mindset—mastery comes from understanding internals, not just running commands. - **Boot is a multi-stage process** (Early): From boot loaders to init (systemd), each step has a clear role. Knowing this chain helps you diagnose boot failures and customize startup behavior. - **The kernel is the traffic cop** (Early): It manages devices, drivers, and processes, arbitrating access to hardware. Grasping this central role clarifies why system calls and I/O behave the way they do. - **User space is where you live** (Middle): System calls, input/output, and filesystems are the interfaces between your commands and the kernel. Understanding these bridges makes tools like `strace` or `df` far more useful. - **Shared libraries are the glue** (Middle): Development tools depend on shared libraries, and knowing how they link and load explains everything from dependency errors to performance tuning. - **Networking is layered and configurable** (Late): Interfaces, firewalls, and servers each have distinct roles. The book's patient explanations turn abstract networking concepts into concrete configuration decisions. - **Modern Linux includes virtualization and containers** (Late): New coverage of LVM, virtualization, and containers reflects how Linux powers cloud and DevOps workflows. These are not add-ons but extensions of the same underlying principles. - **Shell scripting is the payoff** (Ending): Effective scripts automate the knowledge gained earlier, turning understanding into action. This is where theory becomes daily practice. 【Reading Tips】 - **Skim the opening chapters** if you already know basic Linux commands—the philosophy is useful but the real value starts with boot and kernel internals. - **Deep-read the middle sections** on system calls, I/O, and filesystems; these are the hardest but most rewarding parts, as they explain why the system behaves as it does. - **Use the networking and storage chapters as reference** rather than reading them cover-to-cover—they're dense but practical when you need to configure a firewall or set up LVM. - **Don't skip the shell scripting chapter** even if you script already; Ward's approach ties scripting back to system internals, which can improve your scripts' efficiency and reliability. - **Keep a terminal open** while reading—try the examples and inspect your own system (e.g., `systemctl`, `lsblk`, `ip`) to cement the concepts. 【Coverage Limits】 This guide is based on the book's front matter and promotional description; the excerpts do not include detailed chapter contents, so specific topics like exact command syntax or individual chapter titles are not covered here. The arc and takeaways are inferred from the stated scope and edition updates.
Excerpt 1
书名: How Linux Works What Every Superuser Should Know (Brian Ward) (Z-Library) 作者: Brian Ward Unlike some operating systems, Linux doesn’t try to hide the imp...
View in text
Page 3
g (and wholly recommended) addition to the Linux literature.” — Phil Bull, co-author of UbUntU Made easy and member of the Ubuntu documentation team “Dives s...
View in text
Page 6
ned herein may be the trademarks of their respective owners. Rather than use a trademark symbol with every occurrence of a trademarked name, we are using the...
View in text
Tags
AI categories
LinuxOSBackend
ISBN: 1718500416
Publisher: No Starch Press
Publish Year: 2021
Language: English
Pages: 464
File Format: PDF
File Size: 9.9 MB
Text Preview (First 20 pages)
Registered users can read the full content for free

Register as a Gaohf Library member to read the complete e-book online for free and enjoy a better reading experience.

Generating text preview…