Mastering Modern Linux Textbook Site


Mastering Modern Linux Textbook Cover
By Paul S. Wang (王士弘)
Chapman & Hall
CRC Press, Florida, USA
ISBN-10: 0815380984
ISBN-13: 978-0815380986
June 2018

Mastering Modern Linux is the second edition of Mastering Linux (2010).

Praise for the First Edition

From Computing Reviews (August 2011):

"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."

See the ACM Computing Reviews full review article.

The Second Edition

Mastering Modern Linux, Second Edition retains much of the good material from the previous edition, with extensive updates and new topics added. The book provides a comprehensive and up-to-date guide to Linux concepts, usage, and programming. The text helps the reader master Linux with a well-selected set of topics, and encourages hands-on practice.

The first part of the textbook covers interactive use of Linux via the Graphical User Interface (GUI) and the Command-Line Interface (CLI), including comprehensive treatmentof the Gnome desktop and the Bash Shell. Using different apps, commands and filters, building pipelines, and matching patterns with regular expressions are major focuses.

Next comes Bash scripting, file system structure, organization, and usage. The following chapters present networking, the Internet and the Web, data encryption, basic system admin, as well as Web hosting. The Linux Apache MySQL/MariaDB PHP (LAMP) Web hosting combination is also presented in depth.

In the last part of the book, attention is turned to C-level programming. Topics covered include the

C compiler, preprocessor, debugger, I/O, file manipulation, process control, inter-process communication, and networking.

The book includes many examples and complete programs ready to download and run. A summary and exercises of varying degrees of difficulty can be found at the end of each chapter. A companion website ( provides appendices, information updates, an example code package, and other resources for instructors, as well as students.


  • A Linux primer to get you started quickly
  • Both GUI (desktop) and CLI (command line) usage explained
  • Bash Shell: interactive use and scripting in depth
  • Hands-on learning with many useful examples
  • Useful GUI Apps
  • 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, HTTPS
  • Comprehensive coverage of networking/Internet
  • Linux Web hosting with Apache, PHP, and MySQL (LAMP)
  • Linux support for C-level programming explained
  • Linux system calls: file and interprocess I/O and networking
  • Basic Linux system administration
  • SELinux basics
  • Ready-to-run example code package
  • Lecture notes for all 12 chapters for instructors

Check It Out

Preface and Table of Contents

Textbook front-and-back cover

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.