Understanding UNIX/LINUX Programming

Understanding UNIX/LINUX Programming : A Guide to Theory and Practice

3.96 (30 ratings by Goodreads)
By (author) 

Free delivery worldwide

Available. Dispatched from the UK in 2 business days
When will my order arrive?


For courses in Unix Systems Programming, Unix System Administration, and as a supplemental text for courses in Advanced Networks and Systems Programming.

This readable and comprehensive text clearly explains Unix programming and structure by addressing the solid fundamentals of Unix and providing different solutions to problems. All ideas and principles are introduced in the context of a practical problem, and excellent use is made of illustrations and listings in the text. Projects are solved by the development of complete programs, which are clearly commented on and integrated with explanations in the text.
show more

Product details

  • Paperback | 530 pages
  • 177.8 x 228.6 x 27.94mm | 884.5g
  • Pearson
  • Upper Saddle River, NJ, United States
  • English
  • 0130083968
  • 9780130083968
  • 738,765

Back cover copy

Understanding Unix(R)/Linux Programming explains how Unix and Linux work and shows how to write, programs at the system call level. Using nearly 100 complete programs and over 200 illustrations, the book demonstrates the basics as well as the advanced aspects of Unix systems programming.

Topics include: file I/0 device I/0 timers process management stream and datagram sockets POSIX threads file systems the terminal driver signals pipes network programming semaphores

The text presents theory in practical contexts with detailed explanations of common Unix programs such as who, Is, pwd, sh, and httpd. Each example starts with a description of what the program does and how people use it. From there, the text discusses the underlying principles and mechanisms, and then uses those ideas to write a version of the program.

The book is designed for learning. Chapter summaries, memorable analogies, experiments, explorations, and varied exercises help the reader understand and program Unix as an integrated, logical whole.

Material in the book applies to all versions of Unix and Linux. The book assumes the reader knows the C programming language and is familiar with a modern operating system. The book is suitable as a class text, for self-study, and for reference, and it provides thorough coverage of information essential to students, Unix programmers, and system administrators.
show more

Table of contents

(NOTE: Each chapter includes a section stating its objectives and a summary.)

1. Unix Systems Programming: The Big Picture.

2. Users, Files, and the Manual: Who Is First.

3. Directories and File Properties: Looking through ls.

4. Focus on File Systems: Writing pwd.

5. Connection Control: Studying stty.

6. Programming for Humans: Terminal Control and Signals.

7. Event-Driven Programming: Writing a Video Game.

8. Processes and Programs: Studying sh.

9. A Programmable Shell: Shell Variables and the Environment.

10. I/O Redirection and Pipes.

11. Connecting to Processes Near and Far: Servers and Sockets.

12. Connections and Protocols: Writing a Web Server.

13. Programming with Datagrams: A License Server.

14. Threads: Concurrent Functions.

15. IPC Roundup: Can We Talk?
show more

Review quote

"The material covered goes to the right depth to allow students to understand the UNIX operating system to program it. I wish a book of this calibre was available during my graduate studies as it would have helped me tremendously in learning to program the UNIX system." - Sam R. Thangiah, Slippery Rock University

"This text is one of the most accurate and articulate that I have read. It is easily readable." - Lawrence B. Wells, Dallas County Community College
show more

About Bruce Molay

Bruce Molay, an award-winning teacher at Harvard and an independent software developer for over two decades, has combined his two passions of masterly teaching and Unix programming in this book.
show more

Rating details

30 ratings
3.96 out of 5 stars
5 40% (12)
4 30% (9)
3 20% (6)
2 7% (2)
1 3% (1)
Book ratings by Goodreads
Goodreads is the world's largest site for readers with over 50 million reviews. We're featuring millions of their reader ratings on our book pages to help you find your new favourite book. Close X