The Unix Programming Environment
#634 of 2,654 all-time
The Unix Programming Environment
Kernighan and Pike
10 people recommended it in 9 threads, 2011–2023.
What people on Hacker News said
For a technical book from the 80's, it is amazingly lucid and well-written. It pre-dates modern unix, so things have changed but much that goes unstated in newer books (for brevity) is explicit in UPE. (Plus, the history itself is illuminating.) It gave me a much deeper understanding of how programs actually run over computer hardware.
I remember The Unix Programming Environment by Kernighan and Pike as an excellent introduction to Unix shells and general Unix programming. IIRC, throughout the chapters, it has you build some kind of interactive command line music organizer, which really demonstrates how much you can get done with a few simple shell scripts.
Even though it is mostly review, reading code and seeing commands that K&R&P run has actually helped my workflow, code quality, etc.
Anything by Kernighan/Pike/Ritchie such as The C Programming Language, The Unix Programming Environment and gopl.io book are all concise and well written books with just exactly the right amount of material it seems.
But what was really a kind of aesthetic crack was The UNIX Programming Environment and The TeXbook.
Where it comes up
- Ask HN: The book that did it for you in math and/or CS? 2022 · 2 recommendations
- Ask HN: What are the most eye-opening textbooks you have ever read? 2023 · 1 recommendation
- Ask HN: What language-agnostic programming books should I read? 2017 · 1 recommendation
- Textbook manifesto (2016) 2017 · 1 recommendation
- Ask HN: What are some books where the reader learns by building one project? 2017 · 1 recommendation
- Ask HN: What good books have you read lately? 2016 · 1 recommendation
- Ask HN: What book have you given as a gift? 2016 · 1 recommendation
- Ask HN: Which book are you reading these days? 2015 · 1 recommendation
- What is the single most influential book every programmer should read? 2011 · 1 recommendation