
Understanding UNIX/LINUX Programming
by Bruce Molay · first published 2002
83% recommend17% neutral
Why HN recommends it
Teaches systems programming in C by rebuilding common Unix tools like ls, who, pwd and sh, covering signals, threads, file I/O and sockets; suits beginners who know C and want to see how the kernel and utilities work.
Summarised by Claude from recommending comments
This book explains in a clear and coherent manner how Unix works, how to understand existing Unix programs, and how to design and create new Unix programs. The book is organized by subsystem, each presented in visual terms and explained using vivid metaphors. It breaks the information into manageable parts that can be presented, explained, and mastered. By using case studies and an extremely reader-friendly manner to illustrate complex ideas and concepts, the book covers the basics of systems programming, users, files and manuals, how to read a directory, using 1S, writing PWD, studying STTY,
Affiliate links. As an Amazon Associate I earn from qualifying purchases.



"Understanding Unix/Linux Programming: A Guide to Theory and Practice" by Bruce Molay does a wonderful job of diving into the workings of the Linux kernel without any prerequisite knowledge beyond an understanding of C. This book focuses…
on “Which programming book you just couldn’t stop reading from start to end?” ↗This is the sort of approach that the 'Understanding Unix/Linux Programming' [1] book takes - building common unix utilities in order to introduce systems programming concepts. IMO, it's a good starter for meatier material in Richard Stevens books. For those interested in this…
on “A collection of small study projects which teach basic systems coding in Python” ↗A great book in the same vein is: Understanding UNIX/Linux-Programming by Bruce Molay.[0] It also delves into the basic tools and then writes them from scratch. I found it quite inspiring as to where to spend time while learning UNIX. [0] https://www.amazon.com/Understanding-UNIX-LINUX-Programming-...
on “Getting better at Linux with mini-projects” ↗Try Bruce Molay's Understanding UNIX/LINUX Programming: A Guide to Theory and Practice. It teaches us various Linux/Unix concepts like signal, threads, file I/O, socket, etc. On some chapters, we'll be guided to re-implement various built-in tools like who,…
on “Teaching C (2016)” ↗I would like to recommend "Understanding UNIX/LINUX Programming: A Guide to Theory and Practice" for beginners. You can download source code I assembled https://github.com/bssrdf/UnderstandingUnixLinuxProgramming
on “Write a Shell in C (2015)” ↗Understanding UNIX/LINUX Programming: A Guide to Theory and Practice by Bruce Molay is a work which has the reader learn system programming by re-implementing UNIX commands. who is the focus of Chapter 2.
on “The Unix `Who` Command” ↗