Product Description
Beginning Linux Programming, Fourth Edition continues its unique approach to teaching UNIX programming in a simple and structured way on the Linux platform. Through the use of detailed and realistic examples, students learn by doing, and are able to move from being a Linux beginner to creating custom applications in Linux. The book introduces fundamental concepts beginning with the basics of writing Unix programs in C, and including material on basic system calls, f… More >>

Beginning Linux Programming

5 thoughts on “Beginning Linux Programming”

  1. This is an excellent, large book. And as its title suggests it is for “begginers”. It covers a wide range of topics, starting from shell programming and ending with device drivers.

    – Most likely, as in my case, you will read a large subset of the chapters in this book, but not everything.

    – This book covers a lot of the old APIs as well, thus, you will learn to write portable code which will run under different Linux distributions (and under UNIX too).

    – This book is a *MUST* for anyone starting in the Linux development world.

    – One problem though, in my opinon, it should cover a little less of the “OLD” stuff and it should include MORE about the “NEW” stuff, especially about the LATEST/GREATEST 2.6.x kernel.

    – I really liked the fact that it covers few basics about Linux kernel programming and device drivers in chapter 18.

    – For more info about specific topics (in addition to this title), I suggest the following:

    A) Linux Networking -> “The definitive guide to Linux Network Programming”

    B) Linux Kernel Programming -> “Linux Kernel Development (2nd Edition – by Robert Love)”

    C) Device Drivers -> “Linux Device Drivers, 3rd Edition”

    D) Another excellent book addressing the same topics -> “GNU/Linux Application Programming, by M. Tim Jones”
    Rating: 5 / 5

  2. I have approximately 5 feet of bookshelf space dedicated to linux books, by now. While many have detail that surpasses this book, none are written as clearly. I enjoyed the writing style as much as the information conveyed. You will not be disappointed with this tome.

    A word of warning, however. This book, while a beginning introduction to many topics, is not for beginning programmers. If you do not already know C, shop for another book. The authors hit the ground running and do not stop to explain pointers and other syntactic minutia. This probably will not be a problem for most of you. Why would a complete novice jump into device drivers? Still, do not be fooled by the “Beginning” in the title. You are introduced to some fairly hairy concepts most programmers seldom delve into (system calls, for example).

    Am I happy with this book? You bet. If every Wrox book is as expertly edited and authored, then O’reily has some stiff competition. By the way, do not ever purchase a book with the words “Unleashed”, “Maximum”, or “Que” on the cover. You’ll regret it.
    Rating: 4 / 5

  3. If you are a sysadmin or want to learn programming on UNIX/LINUX you must have this book. I have several books on C and several on other languages I would trade them all for this. It covers the basics (essentials) that other books written exclusively for one language don’t even touch on. I explains how all of the languages covered interplay with UNIX/LINUX.

    The first chapter covers programs, the C compiler, header files, staic libraries, and shared libraries. It explains they all come together to make a program in a way that it can be understood

    The second chapter covers UNIX shell scripts at length. I have good book on shell scripts, and this chapter alone is just as good as that book.

    The third chapter covers working with UNIX files, system calls, library functions etc… The sample programs all work as they are supposed to. Everything is clearly explained and easily understood.

    The 4th chapter covers passing arguments to C programs, envorment variables, temporary files, configuring logs, and system resources.

    I have not read any further, because I’ve only had this book a week. I’ve been looking for a book like this for a few years. It talks about how C and other languages interface with LINUX/UNIX rather than just giving you the pure language and leaving you to fend for yourself.

    Other chapters include:
    5) Terminals
    6) Curses
    7) Data Management
    8) Development Tools
    9) Debugging
    10) Processes and Signals
    11) POSIX Threads

    12) Inter-process Communication: Pipes
    13) Semaphores, Mesage Queues, and Shared Memory,
    14) Socets
    15) TCL: Tool Command Language
    16) Programming for X
    17) Programming for GNOME using GTK+
    18) The Perl Programming Language
    19) Programming for the Internet: HTML
    20) Internet Programming 2: CGI
    21) Device Drivers
    Appendex A) Portability
    Appendex B) FSF and the GNU Project
    Appendex C) Internet Resources
    Appendex D) Bibliography

    If you are only get one book on programming, this is the one you need. I have at least 8 other books on various programming languages, and this one is better than all of them combined. This book is 900 pages packed full information, and it’s easily understood. The sample programs all work and are well documented.

    I write this review after reading only four chapters, because the information I have gotten out of them is worth way more than the price of this book. This book gives you all the pieces to the puzzles and tells you how to put it together. This book can be used by advanced programmers as well to fill in any knowlege gaps they may have. This book gets my highest recommendation, as it will be by my side for years to come.
    Rating: 5 / 5

  4. This book will bring you up to speed on the Linux API. My only complaint is that it skims the surfaces. Take out the sections on Tcl, HTML, Perl, and CGI; they are so basic that they are useless anyway, and they don’t fit in here. “Beginning Linux Programming” has the potential be the master of all of the Linux books if they would cut out these non-Linux topics and replace them with more Linux information.

    For example, I loved the compiler section but it stopped short on shared libraries to save room for Perl and CGI later in the book. If the authors are listening: the cover of the book says Linux programming, not web programming.

    As for the presentation of the book: Great examples, great explainations, and very clear.
    Rating: 3 / 5

  5. This is a really cool book, not only technically, but a decent read also. It covers all the major Linux languages: C, TCL/TK, Perl, Shell programming, etc. It’s not just a cornucopia of different dialects, though, it’s clear the authors are true bilinguals: all the examples are well coded, commented and generally do things in the way I would!.

    Anyone who finishes this book to be able to write pretty much anything they please. It shows you stuff from small utilities for the command line to full GUI-driven database apps. There is a section on writing device drivers and kernel hacking, there’s also another section on writing HTML. It really is that broad and encompassing, I refer to it time and time again.

    Although this book is called ‘Beginning Linux Programming’, it’s clear that a lot of the skills you’ll gain from this book are transferable to other platforms, thanks to POSIX, X/Open, et al.

    One possible criticism is that KDE programming is not covered (except, the TCL/TK programs will obviously work under KDE, as will the GNOME programs if you have the correct libraries installed). However, the book had to end somewhere, and for the bang-per-buck (this is a big book) the value-for-money is quite amazing.

    And, to top it all off, it has a foreword by Alan Cox, Linux demi-god uber-geek. If that’s not a recommendation, nothing is!
    Rating: 5 / 5

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.