Beginning Linux Programming
|
| Price: |
39 new or used available from $0.71
Average customer review:Product Description
Since 1996 this, the first edition of Beginning Linux Programming, has introduced tens of thousands of people to programming for Linux - the free UNIX-like PC OS that's taken the UNIX world by storm in recent years.
This book takes off where most Linux books stop, showing you how to make the most of the tools UNIX offers to program UNIX for real.
The first edition covers:
Programming in C, the main UNIX programming language
Client/Server and Network programming in the UNIX environment
HTML and using your Linux box as a CGI server
Rapid development tools: the shell and Tcl
X Windows and X programming with Tcl Tk and Java
A real-world CD database application is developed and extended throughout the book as new topics are covered, allowing you to see how the theory you've learnt can be applied in practice.
The book is unique in that it teaches UNIX programming in a simple and structured way, using Linux and its associated and freely available development tools as the main platform. Assuming familiarity with the UNIX environment and a basic knowledge of C, the book teaches you how to put together UNIX applications that make the most of your time, your OS and your machine's capabilities.
Product Details
- Amazon Sales Rank: #855653 in Books
- Published on: 1996-08
- Original language: English
- Number of items: 1
- Binding: Paperback
- 710 pages
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.
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
From the Back Cover
Beginning Linux Programming 4th Edition
Building on the success of its previous editions, this must-have guide continues its popular tutorial approach and brings you a straightforward introduction to developing programs for Linux and other UNIX-style operating systems. The author duo of experienced Linux programmers covers a wide range of topics to help you learn more about what Linux has to offer so you can maximize your programming time and your use of the Linux system.
You'll progress from the basics of compiling programs, linking to libraries, and dealing with terminal input and output to more advanced subjects such as writing applications for the GNOME(r) and KDE(r) environments, storing data using MySQL(r), and debugging. As each topic is covered, the authors introduce an appropriate programming theory and then illustrate it with practical examples, clear explanations, and a step-by-step approach with the intent that you will learn by doing. You'll quickly evolve from being a Linux beginner to confidently creating custom applications in Linux.
What you will learn from this book
*
How to use the standard Linux C libraries and other facilities
*
Ways to make the most of the standard Linux development tools
*
Tips on basic system calls, file I/O, interprocess communication, and shell programming
*
How to build graphical user interfaces using the GTK+ or Qt toolkits
*
Using sockets to support TCP/IP networking to different machines
*
How to write programs that will work on different distributions of Linux
Who this book is for This book is for programmers and developers who want to increase their skill level using Linux. Experience in C and/or C++ programming is helpful.
Wrox Beginning guides are crafted to make learning programming languages and technologies easier than you think, providing a structured, tutorial format that will guide you through all the techniques involved.
Customer Reviews
an Excellent Book & an Excellent Start
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"
Exceptional writing ability makes concepts clear
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.
Everything You've Been Looking For
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.




