Mastering Linux Textbook Site

Welcome to
Mastering Linux

Mastering Linux Textbook Coverby Paul S. Wang (王士弘)
Chapman & Hall
CRC Press, Florida, USA
September 14th 2010
ISBN 978-1-4398068-6-9
439 pages

(Link to the second edition of this book.) This book provides a comprehensive and up-to-date guide to Linux concepts, usage, and programming. The text helps you master Linux with a well-selected set of topics. Hands-on practice is encouraged; it is the only way to gain familiarity with an operating system. A primer gets you started quickly. Then, the chapters lead you from user interfaces, commands and filters, Shell scripting, the file system, networking, to kernel system calls. There are many examples and complete programs ready to download and run. A summary and exercises of varying difficulty are provided at the end of each chapter. A companion website supplies information updates and many additional resources.


  • A Linux primer to get you started quickly
  • Both GUI (desktop) and CLI (command line) usage explained
  • Bash Shell: interactive use and scripting
  • Hands-on learning with many useful examples
  • Commands, Filters, pipelines, and regular expressions in-depth
  • Linux files, directories, and filesystem in-depth
  • Security: message digest, public-key encryption, digital signature, SSH, SFTP, secure email, digital certificates, SSL
  • Comprehensive coverage of networking/Internet
  • Linux Web hosting with Apache, PHP, and MySQL
  • Linux support for C-level programming explained
  • Linux system calls: file and interprocess I/O and networking
  • GUI scripting with Ruby/GTK2
  • Ready-to-run example code package
  • Companion website with example package
  • Lecture notes for all 12 chapters for instructors

Excellent Review from ACM Computing Reviews

This outstanding book … gives the reader robust concepts and implementable knowledge of this environment. Graphical user interface (GUI)-based users and developers do not get short shrift, despite the command-line interface’s (CLI) full-power treatment. … Every programmer should read the introduction’s Unix/Linux philosophy section. … This authoritative and exceptionally well-constructed book has my highest recommendation. It will repay careful and recursive study.—Computing Reviews, August 2011

See the ACM Computing Reviews review article.

Check It Out

Preface and Table of Contents

Instructors: see resources for lecture notes.

Example Code Package

Lecture Notes for Instructors

Paul's Web Programming Book

See website for Dynamic Web Programming and HTML5.