Amazon.com: Beginning Linux Programming (9780470147627): Neil Matthew, Richard Stones: Books
Beginning Linux Programming and over one million other books are available for Amazon Kindle. Learn more


or
Sign in to turn on 1-Click ordering.
or
Amazon Prime Free Trial required. Sign up when you check out. Learn More
Sell Back Your Copy
For a $9.46 Gift Card
Trade in
More Buying Choices
Have one to sell? Sell yours here
Beginning Linux Programming
 
 
Start reading Beginning Linux Programming on your Kindle in under a minute.

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

Beginning Linux Programming [Paperback]

Neil Matthew (Author), Richard Stones (Author)
4.5 out of 5 stars  See all reviews (78 customer reviews)

List Price: $39.99
Price: $26.07 & this item ships for FREE with Super Saver Shipping. Details
You Save: $13.92 (35%)
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
In Stock.
Ships from and sold by Amazon.com. Gift-wrap available.
Only 10 left in stock--order soon (more on the way).
Want it delivered Monday, February 27? Choose One-Day Shipping at checkout. Details
Textbook Student FREE Two-Day Shipping for students on millions of items. Learn more

Formats

Amazon Price New from Used from
Kindle Edition $21.99  
Paperback $26.07  
Sell Back Your Copy for $9.46
Whether you buy it used on Amazon for $19.99 or somewhere else, you can sell it back through our Book Trade-In Program at the current price of $9.46.
Used Price$19.99
Trade-in Price$9.46
Price after
Trade-in
$10.53

Book Description

November 5, 2007 0470147628 978-0470147627 4
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, file I/O, interprocess communication (for getting programs to work together), and shell programming. Parallel to this, the book introduces the toolkits and libraries for working with user interfaces, from simpler terminal mode applications to X and GTK+ for graphical user interfaces. Advanced topics are covered in detail such as processes, pipes, semaphores, socket programming, using MySQL, writing applications for the GNOME or the KDE desktop, writing device drivers, POSIX Threads, and kernel programming for the latest Linux Kernel.

Frequently Bought Together

Customers buy this book with Starting Out with C++: Early Objects (7th Edition) $100.99

Beginning Linux Programming + Starting Out with C++: Early Objects (7th Edition)
Price For Both: $127.06

Show availability and shipping details

  • This item: Beginning Linux Programming

    In Stock.
    Ships from and sold by Amazon.com.
    This item ships for FREE with Super Saver Shipping. Details

  • Starting Out with C++: Early Objects (7th Edition)

    In Stock.
    Ships from and sold by Amazon.com.
    This item ships for FREE with Super Saver Shipping. Details



Editorial Reviews

Amazon.com Review

Provided you have some previous basic exposure to C and Unix, Beginning Linux Programming delivers an excellent overview of the world of Linux development with an appealing range of essential tools and APIs.

The standout feature of Beginning Linux Programming is its wide-ranging coverage of important topics in basic Unix programming. In a series of short chapters, the authors discuss the basics of writing Unix programs in C, with material on basic system calls, file I/O, interprocess communication (for getting programs to work together), and advanced topics such as socket programming and how to create Unix device drivers.

Parallel to this, the book introduces the toolkits and libraries for working with user interfaces, from simpler terminal mode applications to X and GTK+ for graphical user interfaces. While you won't be an authority on X or GTK+ after reading this book, you will certainly be able to explore real Linux development on your own after the capable introductory guide provided here. (The book's main example, a CD-ROM database, gets enhanced in subsequent chapters using new APIs and features as the book moves forward.) This text also serves as a valuable primer on languages and tools such as Tcl, Perl, and CGI. (There's even a section that explains the basics of the Internet and HTML.)

More than ever, there is no shortage of specific information on Linux programming, but few titles provide such a wide-ranging tour of what you need to know to get serious with Linux development. In all, Beginning Linux Programming gives the reader an intelligent sampling of essential topics in today's Linux. It's a wise choice for aspiring Unix C developers or folks seeking to extend the range of their Linux knowledge. --Richard Dragan

Topics covered: Linux overview, compiling C programs, shell programming, pipes, script keywords and functions, Unix file I/O in C, Unix system functions, terminal interfaces (termios, keyboard input, the curses library), memory management, file locking, dbm databases, make and source control basics, man pages, debugging with gdb, processes and signals, POSIX threads and synchronization, IPC and pipes, semaphores, queues and shared memory, sockets, Tcl basics, X Windows and GTK+ for GNOME, Perl basics, HTML and CGI, writing Unix device drivers. --This text refers to an alternate Paperback edition.

From the Publisher

A fully revised and expanded Second Edition of Beginning Linux Programming is now available. Search for the title, "Beginning Linux Programming 2nd Edition" or the ISBN: 1861002971 --This text refers to an alternate Paperback edition.

Product Details

  • Paperback: 816 pages
  • Publisher: Wrox; 4 edition (November 5, 2007)
  • Language: English
  • ISBN-10: 0470147628
  • ISBN-13: 978-0470147627
  • Product Dimensions: 9.3 x 7.4 x 1.7 inches
  • Shipping Weight: 2.6 pounds (View shipping rates and policies)
  • Average Customer Review: 4.5 out of 5 stars  See all reviews (78 customer reviews)
  • Amazon Best Sellers Rank: #83,696 in Books (See Top 100 in Books)

More About the Author

Discover books, learn about writers, read author blogs, and more.

 

Customer Reviews

78 Reviews
5 star:
 (54)
4 star:
 (15)
3 star:
 (5)
2 star:
 (3)
1 star:
 (1)
 
 
 
 
 
Average Customer Review
4.5 out of 5 stars (78 customer reviews)
 
 
 
 
Share your thoughts with other customers:
Most Helpful Customer Reviews

79 of 79 people found the following review helpful:
5.0 out of 5 stars an Excellent Book & an Excellent Start, March 28, 2005
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"
Help other customers find the most helpful reviews 
Was this review helpful to you? Yes No


41 of 41 people found the following review helpful:
4.0 out of 5 stars Exceptional writing ability makes concepts clear, June 2, 2000
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.

Help other customers find the most helpful reviews 
Was this review helpful to you? Yes No


42 of 44 people found the following review helpful:
5.0 out of 5 stars Everything You've Been Looking For, October 29, 2003
By 
Jeff Pike (Mechanicsville, VA United States) - See all my reviews
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.

Help other customers find the most helpful reviews 
Was this review helpful to you? Yes No

Share your thoughts with other customers: Create your own review
 
 
 
Most Recent Customer Reviews











Only search this product's reviews



Inside This Book (learn more)
Key Phrases - Statistically Improbable Phrases (SIPs): (learn more)
message queues, package manager, neil users, gpointer data, rpmbuild command, general terminal interface, termios structure, insert into track, single binary semaphore, int fildes, unnamed socket, new file descriptor, curses programs, option chosen case, ttyl root, gmt ime, int track, literal storage, int msgid, database foo, signal handling function, client pipe, curses library, errno set, user rick
Key Phrases - Capitalized Phrases (CAPs): (learn more)
Try It Out, Hello World, Inter-Process Communication, Managing Text-Based Screens, Data Management, Window System, Development Tools, The Linux Environment, File Edit View Terminal Tabs Help, General Public License, Red Hat, Free Software Foundation, Member Description, Query Browser, Getting Started, Open Source, Beginning Linux Programming, Good Afternoon, The Open Group, Signal Name Description, Enterprise Help, Value Description, Wiley Publishing, Parameter Description, File Help
Browse Sample Pages:
Front Cover | Table of Contents | First Pages | Index | Back Cover | Surprise Me!
Search Inside This Book:


Tags Customers Associate with This Product

 (What's this?)
Click on a tag to find related items, discussions, and people.
 
(13)

Your tags: Add your first tag
 

Customer Discussions

This product's forum
Discussion Replies Latest Post
No discussions yet

Ask questions, Share opinions, Gain insight
Start a new discussion
Topic:
First post:
Prompts for sign-in
 


Active discussions in related forums
Search Customer Discussions
Search all Amazon discussions
   
Related forums





Look for Similar Items by Category


Look for Similar Items by Subject