Sorry, this item is not available in
Image not available for
Color:
Image not available

To view this video download Flash Player

 


or
Sign in to turn on 1-Click ordering
Sell Us Your Item
For a $2.00 Gift Card
Trade in
More Buying Choices
Have one to sell? Sell yours here
Tell the Publisher!
I'd like to read this book on Kindle

Don't have a Kindle? Get your Kindle here, or download a FREE Kindle Reading App.

Linux Programming by Example: The Fundamentals [Paperback]

Arnold Robbins
4.6 out of 5 stars  See all reviews (11 customer reviews)

List Price: $43.99
Price: $33.42 & FREE Shipping on orders over $35. Details
You Save: $10.57 (24%)
o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o
Only 4 left in stock (more on the way).
Ships from and sold by Amazon.com. Gift-wrap available.
Want it Friday, July 11? Choose One-Day Shipping at checkout. Details
Free Two-Day Shipping for College Students with Amazon Student

Shop the new tech.book(store)
New! Introducing the tech.book(store), a hub for Software Developers and Architects, Networking Administrators, TPMs, and other technology professionals to find highly-rated and highly-relevant career resources. Shop books on programming and big data, or read this week's blog posts by authors and thought-leaders in the tech industry. > Shop now

Frequently Bought Together

Linux Programming by Example: The Fundamentals + The Art of UNIX Programming (The Addison-Wesley Professional Computng Series)
Price for both: $71.95

Buy the selected items together


Editorial Reviews

Amazon.com Review

Anyone who's done programming work knows that you spend half your coding time looking for other people's solutions to the problems you're facing in your project. Particularly when you're dealing with times, dates, standard calculations, and other common problems, you find yourself saying, "Someone must have solved this before." And, indeed, someone usually has. Linux Programming by Example is a dense compendium of Linux software solutions--tools, algorithms, and procedures that solve data-processing challenges of the sort that crop up in all sorts of software projects. Though it does not address X11 user-interface programming or network communications much, this book does a great job of communicating recommended practices for command-line interfaces, filesystem manipulation, internationalization and localization, and inter-process communications. Taken together with The Art of Unix Programming, this book will help you solve difficult Linux programming problems quickly.

Unlike a lot of code-oriented books, this one manages to keep its samples concise, and devote more space to discussions of why things are done than to the code that actually does them. This promotes understanding: You can always mess around with the code yourself on your own. Overall, Arnold Robbins does an excellent job of stripping away some of the hacker mystique to reveal the code behind the curtain. This book shows how to work Linux magic. --David Wall

Topics covered: Linux programming in C, mostly at a level concerned with user input from the command line, file I/O, interprocess signalling, and memory management.

From the Publisher

"This is an excellent introduction to Linux programming. The topics are well chosen and lucidly presented. I learned things myself, especially about internationalization, and I’ve been at this for quite a while."

—Chet Ramey, Coauthor and Maintainer of the Bash shell

"This is a good introduction to Linux programming. Arnold’s technique of showing how experienced programmers use the Linux programming interfaces is a nice touch, much more useful than the canned programming examples found in most books."

—Ulrich Drepper, Project Lead, GNU C library

"A gentle yet thorough introduction to the art of UNIX system programming, Linux Programming by Example uses code from a wide range of familiar programs to illustrate each concept it teaches. Readers will enjoy an interesting mix of in-depth API descriptions and portability guidelines, and will come away well prepared to begin reading and writing systems applications. Heartily recommended."

—Jim Meyering, Coauthor and Maintainer of the GNU Core Utility Programs

Learn Linux® programming, hands-on… from real source code This book teaches Linux programming in the most effective way possible: by showing and explaining well-written programs. Drawing from both V7 Unix® and current GNU source code, Arnold Robbins focuses on the fundamental system call APIs at the core of any significant program, presenting examples from programs that Linux/Unix users already use every day. Gradually, one step at a time, Robbins teaches both high-level principles and "under the hood" techniques. Along the way, he carefully addresses real-world issues like performance, portability, and robustness. Coverage includes:

Memory management File I/O File metadata Processes Users and groups Sorting and searching Argument parsing Extended interfaces Signals Internationalization Debugging And more… Just learning to program? Switching from Windows®? Already developing with Linux but interested in exploring the system call interface further? No matter which, quickly and directly, this book will help you master the fundamentals needed to build serious Linux software.

Companion Web Sites, authors.phptr.


Product Details

  • Paperback: 720 pages
  • Publisher: Prentice Hall; 1 edition (April 22, 2004)
  • Language: English
  • ISBN-10: 0131429647
  • ISBN-13: 978-0131429642
  • Product Dimensions: 1.5 x 6.9 x 9.1 inches
  • Shipping Weight: 2.6 pounds (View shipping rates and policies)
  • Average Customer Review: 4.6 out of 5 stars  See all reviews (11 customer reviews)
  • Amazon Best Sellers Rank: #457,630 in Books (See Top 100 in Books)

More About the Author

Arnold Robbins is a professional programmer, instructor, and author. A long-time GNU Project volunteer, he currently maintains gawk. He has worked with C, C++, Unix, and GNU/Linux since 1980.

Customer Reviews

4.6 out of 5 stars
(11)
4.6 out of 5 stars
Share your thoughts with other customers
Most Helpful Customer Reviews
31 of 31 people found the following review helpful
4.0 out of 5 stars Linux Fundamentals April 26, 2004
Format:Paperback
Don't judge a book by it's cover, especially this cover, with the cheesy lightsaber which screams, "secrets of the Unix Jedi". Read the the lines, "Linux" and "Fundamentals" on the cover, and that is what you need to know.
If you are familiar with the classic "Advanced Unix Programming" you will be familiar with what this book covers and appreciative of the update. In short, this book covers the fundamentals of shell programming with C; files, directories, signals, memory allocation, process control, permissions, that sort of thing. It does not cover network programming or X11 GUI programming.
What I liked about it was primarily that it imparted experience. For example the section on creating temporary files pointed out both good and bad ways to write the same functionality. The text was expository and informative. Where Advanced Unix Programming was a little dry and stiff in tone, this book is a little heftier, goes into more detail, and is written in a more experiential and friendly manner.
There is a lot to like about this book. If the subject, within it's constraints, interests you, then you should get it. If only to broaden your depth of understanding as to how Unix works and how to write programs for it. If you are looking for books on network programming, xml, multi-threading, web serving, or X11, you should look elsewhere, but you should probably still look at this book to bone up on 'Linux' 'Fundamentals'.
Comment | 
Was this review helpful to you?
26 of 26 people found the following review helpful
4.0 out of 5 stars Great real world examples January 25, 2005
Format:Paperback
Linux Programming by Example: The Fundamentals is a great book that covers three main concepts in Linux programming: files, processes and debugging. In each part the author explains and gives several examples of functions, systems calls and APIs that will help the Linux programmer. He also includes several real world examples of how these concepts are implemented. Here are the some things that I found interesting:

The Good: 1) This book really focuses on the use of standards and good program design. Right from the beginning, the author goes out of his way to make the reader aware of standards from ISO and POSIX and how they apply to good programming and design. Along this line I also like that the author explains the benefits of - and promotes - the use of Gnu software. Being an avid Gnu user myself (as most Linux users are) I agree that Gnu software is generally better software.

2) I feel that knowledge is power, and the author goes along with this idea by showing how some things should *not* be done. He often points out several functions that are available but should be avoided. I appreciated this, and feel that it makes the reader an all-around better programmer. The author also frequently gives extra information and history which helps explain why things are the way they are. This was especially useful when explaining mount points and types of file system.

3) I liked the fact that the author uses real world examples to demonstrate the ideas being presented. I really appreciated the fact that he uses V7 code (older, smaller and less comlex code) to demonstrate his examples. This allowed me to be able to see how the features were implemented in simple code, without being overwhelmed by the modern equivalents.
Read more ›
Comment | 
Was this review helpful to you?
15 of 15 people found the following review helpful
5.0 out of 5 stars A new classic July 13, 2004
Format:Paperback
I loved this book. It's earned an honored place on my bookshelf, and I'm going to recommend it to people who need information about Linux and UNIX development.
Many computer books are practically obsolete before they ship: within a few months, "Learn Foomatic 4.3 in 21 Days" is in the bargain bin at the Dollar Tree. Some books have longer lives, and a few can remain useful for years. "Linux Programming by Example" (LPE) is in this last category; this book can stand alongside Steven's "Advanced UNIX Programming" as an essential tutorial and reference.
LPE covers everything you'd expect (working with files, processes, signals, users) and some things you might not (internationalization). But it's this book's voice and unique perspective that make it truly a gem. LPE is written in a clear, friendly, authoritative style. As I read, I often felt that I had gained a new understanding of things I've known for years.
The long and twisted history of UNIX has given rise to multiple competing APIs. Perhaps the greatest thing about this book is the way that Robbins cuts through these thickets, explaining your choices, pointing out the best alternatives, and explaining why they're the best. LPE's modern vantage point means it can cover V7, BSD, POSIX, and GNU APIs. The chapter on signals alone is worth the purchase price of the book for the way in which it clearly compares and contrasts the various signal APIs.
Comment | 
Was this review helpful to you?
7 of 7 people found the following review helpful
5.0 out of 5 stars An excellent book May 23, 2004
Format:Paperback
I am very impressed with this book. Arnold covers the basics of Linux and Unix programming in a clear, easily-understood fashion. He has brought a wealth of programming experience to the job, and it shows -- the comments on portability, for instance, have a certain world-weariness about them that makes it clear that the lessons were hard-won.
I thought the choice of using Unix 7th edition source code was inspired. The code is elegantly written, and comprehensible enough to be used as a teaching aid.
I would not hesitate to recommend this to anyone looking for an introduction to programming on Linux or Unix.
Comment | 
Was this review helpful to you?
Most Recent Customer Reviews
4.0 out of 5 stars Four Stars
Quite good.
Published 12 hours ago by Lloyd Kunar
5.0 out of 5 stars what could be more useful than reading a book and resolve two of my...
5 stars just because of the reason below.
I read the whole book through, found two useful examples(topic) to resolve two of my issues.
good book.
Published 14 months ago by xing liu
5.0 out of 5 stars GNU Programming by Example
This is a fantastic book about how to program in the GNU style. In other words, this book is a great companion to the GNU coding standards, and it provides a good window into... Read more
Published on December 6, 2009 by Joel Adamson
4.0 out of 5 stars Good Introduction
This is a good introductory book for Linux OS related programming concepts including memory management, files, IPC, signals and debugging. Read more
Published on January 7, 2007 by Deniz Demir
5.0 out of 5 stars Quality book, a keeper
I learned about this book from its sister book, Linux Kernel Primer: A Top-Down Approach for x86 and PowerPC Architecture. Read more
Published on March 19, 2006 by alkmaar
5.0 out of 5 stars An invaluable resource
This is an exceptionally fine book.

Robbins has supplied the reader with a vast number of

programs and a lot of elucidation. Read more
Published on January 6, 2005 by P. Salus
5.0 out of 5 stars A great intro to portable Unix systems programming!
This is a great introduction to Unix systems programming.
I like the way concepts are illustrated with code from widely
used programs, along with good tips on... Read more
Published on April 26, 2004 by Jim Meyering
Search Customer Reviews
Search these reviews only

What Other Items Do Customers Buy After Viewing This Item?


Sell a Digital Version of This Book in the Kindle Store

If you are a publisher or author and hold the digital rights to a book, you can sell a digital version of it in our Kindle Store. Learn more

Forums

There are no discussions about this product yet.
Be the first to discuss this product with the community.
Start a new discussion
Topic:
First post:
Prompts for sign-in
 



Look for Similar Items by Category