These are the classic books on UNIX and C programming written few decades ago, but still the best books in its category.
- C Programming Language (2nd Edition), by Brian W. Kernighan and Dennis M. Ritchie – Dennis M. Ritchie is the father of C programming who passed away recently. This is hands-down the best book for those who like to master the C programming language. Every one of the best C programmers that I know recommend this book even today.
- The C Answer Book, by Clovis L. Tondo and Scott E. Gimpel This book contains the solutions to the exercises in ‘The C Programming Language,’ Second Edition. Even if you can figure out answers to all the exercises yourself, you should still read this book, as the authors have explained in detail about each and every solution.
- Unix Programming Environment, by Rob Pike and Brian W. Kernighan While this book explains in detail about how to use various tools in UNIX environment, this power of this book is in its explanation about the philosophy and fundamentals of UNIX programming environment and various tools.
- The Design of the UNIX Operating System, by Maurice J. Bach This is the best book that will give you the internal details about UNIX Sys V. Even thought this book was written in 1986, the concept explained in this book is still sound and extremely useful.
- The AWK Programming Language, by Brian W. Kernighan, Alfred V. Aho, Peter J. Weinberger This book is written by the authors of the AWK itself. This book explains the fundamentals of the AWK language and also provides several practical examples that will help you understand how to use AWK in real life scenarios.
- UNIX Network Programming, by W. Richard Stevens This was one of the textbooks in my College and I read this cover to cover. This is the best book even today for those who like to understand how to do Network programming using C in UNIX environment.
- Software Tools, by Brian W. Kernighan and P. J. Plauger This explains how to develop software tools using best practices. The examples given in this book are written using Ratfor (Rational Fortran), but it is easy to understand when you read through the code.
- The Practice of Programming, by Rob Pike and Brian W. Kernighan Every programmer should read this book. This book contains several advice on how to to design and write efficient program. This contains several examples in C, C++ and Java.
- The Elements of Programming Style, by Brian W. Kernighan and P.J. Plauger There are 77 rules presented in this book that should be followed by a programmer for good programming style. While the examples given in this book to explain these rules are written in FORTRAN and PL/I language, these rules still apply to all the programming languages.
- The Design and Analysis of Computer Algorithms, by Alfred V. Aho, John E. Hopcroft, Jeffrey D. Ullman This was also one of the textbooks in my College. Every programmer should read this book to understand the fundamentals of several computer algorithms before they start developing any serious application. This book explains several algorithms including lists, push-down stacks, queues, trees, sorting, searching, graphing, string-matching, etc.
Comments on this entry are closed.
Wish there would be a set of online books also 🙂
Many of the books you mentioned are out of print or the mechanics of the thing they refer(as in Linux kernel or networks) have changed drastically.
Why don’t you suggest new books which You have read.
Good List. Thanks.
Another book I had read way back then was:
C Data base Development by Al Stevens — was printed before 1991.
“C: A Reference Manual”, by Harbison and Steele
I never leave home without it in 20 years of coding.
Good List. Thanks again
Pointers on C – Kenneth Reek it’s one of the book I bought . Definitely it should be on your shelf !
Typo alert. The C Answer Book was written by Clovis L.Tondo and Scott E. Gimpel not as stated above.
Nice list. But what about Knuth? Arguably, this could be a whole other category. Another consideration: Kaufman, Perlman, and Speciner. The latter would certainly top (or nearly top) a “top 10 security”, and hence probably puts it in consideration for a list like this.
K&R at number 1 — couldn’t agree more!
Another interesting list might be top 10 networking books — Stevens (Illustrated, though Programming also probably on the list); Perlman; perhaps Moy’s OSPF book; others?
You’re doing a great job Ramesh. Thanks for the posts.