Goodreads helps you keep track of books you want to read.
Start by marking “Advanced Programming in the UNIX Environment” as Want to Read:
Advanced Programming in the UNIX Environment
Enlarge cover
Rate this book
Clear rating
Open Preview

Advanced Programming in the UNIX Environment

4.31  ·  Rating Details ·  1,298 Ratings  ·  33 Reviews
Bestselling UNIX author Stevens offers application and system programmers his professional, experienced-based guidance on using the system call interface with C. Since good examples are the key to a book like this, a simple shell program is developed in the first chapter and then expanded throughout the book to demonstrate the principles.
Hardcover, 768 pages
Published June 30th 1992 by Addison-Wesley Professional
More Details... edit details

Friend Reviews

To see what your friends thought of this book, please sign up.

Community Reviews

(showing 1-30)
filter  |  sort: default (?)  |  Rating Details
Michael Finocchiaro
I gave this one 5* because it is an excellent reference for UNIX geeks and belongs in the standard IT cannon for us old farts that came up through the pre-Facebook Era of the 80s and 90s. Highly readable and with excellent examples. A classic.
TK Keanini
I had the pleasure in my lifetime to take a tutorial from Stevens at a USENIX conference before he passed. It was an experience I will never forget. All of his books capture his ability to transfer very complex information in a way that no one else can quite do for me. Just like you will always remember that teacher who really made your wheels turn, I will always be greatful to Richard Stevens for his contribution to UNIX and TCPIP networking.
Jul 16, 2008 Ed rated it it was amazing  ·  review of another edition
Recommends it for: Unix/Linux programmers
Shelves: work
This and K&R C are the 2 best books on Unix programming.
Jun 08, 2017 Jack-Benny rated it it was amazing
A really good book about programming in UNIX. I've learned a great deal from this book. From time to time it can be a bit boring and cumbersome, but overall an excellent book.
Steven Raspudic
Jun 22, 2017 Steven Raspudic rated it it was amazing
Anything by Stevens is a classic, including this one. Will only be of interest to systems programmers of course.
Xavier G.
Earlier versions of the UNIX System did not have the mkdir function; it was introduced with
4.2BSD and SVR3. In the earlier versions, a process had to call the mknod function to create a
new directory — but use of the mknod function was restricted to superuser processes. To
circumvent this constraint, the normal command that created a directory, mkdir(1), had to be
owned by root with the set-user-ID bit on. To create a directory from a process, the mkdir(1)
command had to be invoked with the sy
Prashanth Rao
Apr 13, 2013 Prashanth Rao rated it it was ok
+ Comprehensive, both in breadth, and in depth

- Dry

Compared to writers such as Kernighan, Pike and Ritchie, I find Stevens' style awfully boring. K, P and R, for example, bring in interesting problems (e.g. Markov chains) to solve with the tools they are going to introduce to us. Stevens, in contrast, sticks to just explaining functions, mechanism, etc.

Good reference, but boring.
Vasil Kolev
Probably the best book on any UNIX programming. It's good for novices, and everyone can learn something from the book. It doesn't contain some of the weird and new interfaces some of the OSes contain, but sticks to the standards and promotes a pretty good programming style and interface.
Soh Kam Yung
Jul 25, 2011 Soh Kam Yung rated it really liked it  ·  review of another edition
Shelves: computing, reference
A good summary and guide to advanced programming in the Unix environment. Covers most of the major Unix APIs and shows you not only how to use the interfaces but how to use them properly and securely.
Mar 12, 2013 Qubitng rated it it was amazing
First read this in my first year after college graduation. There is fantastic clarity in exposition and I absolutely loved the book/page layout and font standards. It really hooked me into the whole Unix philosophy. Absolutely one of the best written and best-looking programming books.
Michael Isaac
Aug 20, 2016 Michael Isaac rated it it was amazing
One of the best books I've ever read discussing UNIX.
Oct 28, 2014 Cathy_chang rated it it was amazing
A great book
Warren Mcpherson
Feb 02, 2013 Warren Mcpherson rated it it was amazing
Very approachable and readable, much bigger than most other things on my bookshelf, this book delivers a wonderful insight into the details of Unix architecture and programming.
Bhas Karan
Mar 07, 2013 Bhas Karan marked it as to-read
i want to read this book entirely.
Amit Bongir
Jan 08, 2017 Amit Bongir rated it it was amazing
Explanation with code is done elegantly. The author mentions concepts/code from previous chapters in every section that needs them.
Kurt Schwehr
Jul 26, 2014 Kurt Schwehr rated it it was amazing
Shelves: technical
Read this around 1995-6 from front to back.
Mar 16, 2011 Ramesh rated it it was amazing
Get the second edition.
Michael Steinfeld
This review has been hidden because it contains spoilers. To view it, click here.
Darrell Ulm
Jun 04, 2015 Darrell Ulm rated it really liked it
A good book on the subject of Unix Systems Programming, additional reference is usually needed as expected.
Mar 24, 2008 Wm rated it it was ok
Shelves: work, computers
Brutal to read, but I use this text on a regular basis.
Emil Petkov
Mar 15, 2013 Emil Petkov rated it it was amazing
Awesome, want to find the time and the persistence to read the next five in the series...
Bernard Ndegwa
Nov 23, 2014 Bernard Ndegwa rated it it was amazing
If you need an example when in doubt of how the standard library implements a function this is the book to go to.
Mar 30, 2013 Pete rated it it was amazing
A stunningly well written book on how to harness the UNIX programming environment. It is a tome worth reading. Highly recommended.
Dean Jones
Jan 12, 2009 Dean Jones rated it it was amazing
How I learned Unix programming. Great reference.
Sep 25, 2009 Chris rated it really liked it  ·  review of another edition
Finally started reading this. Great book, wish I read it 4 years ago when it would have been more helpful. Much faster way to learn the gist of the commands than reading man pages.
Aurimas Mikalauskas
Sep 24, 2013 Aurimas Mikalauskas rated it it was amazing
Shelves: print
Gave me a good understanding of unix internals which was exactly the goal I had when picking up this book.
Ned Kubica
Dec 29, 2011 Ned Kubica rated it it was amazing
One of my favorite books from the past. I still have a copy of this book on my shelf. Good memories.
Tom Ludwig
Jun 21, 2015 Tom Ludwig rated it it was amazing
If you program for Unix/Linux, you need this book. It is that simple.
Kyle The Hacker
Apr 16, 2013 Kyle The Hacker rated it really liked it
APUE is the magic tome of POSIX development. Code examples for most things, and pretty good coverage of, as it were, programming in the Unix environment.
« previous 1 3 4 5 6 7 8 9 next »
There are no discussion topics on this book yet. Be the first to start one »
  • The UNIX Programming Environment
  • The Art of UNIX Programming
  • The Implementation (TCP/IP Illustrated, Volume 2)
  • The Design of the UNIX Operating System
  • C: A Reference Manual
  • Programming Perl (3rd Edition)
  • Understanding the Linux Kernel
  • The Linux Programming Interface: A Linux and UNIX System Programming Handbook
  • Programming Pearls
  • The C++ Programming Language
  • Expert C Programming: Deep C Secrets
  • Linux Kernel Development
  • Paradigms of Artificial Intelligence Programming: Case Studies in Common LISP
  • Modern Operating Systems
  • UNIX Power Tools
  • Compilers: Principles, Techniques, and Tools
  • C++ Standard Library: A Tutorial and Reference
  • sed & awk

Goodreads is hiring!

If you like books and love to build cool products, we may be looking for you.
Learn more »

Share This Book