Shell Programming in Unix, Linux and OS X The Fourth Edition of Unix Shell Programming

by ;
  • ISBN13:


  • ISBN10:


  • Edition: 4th
  • Format: Paperback
  • Copyright: 8/31/2016
  • Publisher: Addison-Wesley Professional

Note: Supplemental materials are not guaranteed with Rental or Used book purchases.

Purchase Benefits

  • Free Shipping On Orders Over $59!
    Your order must be $59 or more to qualify for free economy shipping. Bulk sales, PO's, Marketplace items, eBooks and apparel do not qualify for this offer.
  • Get Rewarded for Ordering Your Textbooks! Enroll Now
  • We Buy This Book Back!
    In-Store Credit: $8.40
    Check/Direct Deposit: $8.00
List Price: $44.99 Save up to $15.75
  • Rent Book $29.24
    Add to Cart Free Shipping


Supplemental Materials

What is included with this book?

  • The New copy of this book will include any supplemental materials advertised. Please check the title of the book to determine if it should include any access cards, study guides, lab manuals, CDs, etc.
  • The Rental and eBook copies of this book are not guaranteed to include any supplemental materials. Typically, only the book itself is included. This is true even if the title states it includes any access cards, study guides, lab manuals, CDs, etc.


Shell Programming in Unix, Linux and OS X is a thoroughly updated revision of Kochan and Wood’s classic Unix Shell Programming tutorial. Following the methodology of the original text, the book focuses on the POSIX standard shell, and teaches you how to develop programs in this useful programming environment, taking full advantage of the underlying power of Unix and Unix-like operating systems.

After a quick review of Unix utilities, the book’s authors take you step-by-step through the process of building shell scripts, debugging them, and understanding how they work within the shell’s environment. All major features of the shell are covered, and the large number of practical examples make it easy for you to build shell scripts for your particular applications. The book also describes the major features of the Korn and Bash shells.


Learn how to…

  • Take advantage of the many utilities provided in the Unix system
  • Write powerful shell scripts
  • Use the shell’s built-in decision-making and looping constructs
  • Use the shell’s powerful quoting mechanisms
  • Make the most of the shell’s built-in history and command editing capabilities
  • Use regular expressions with Unix commands
  • Take advantage of the special features of the Korn and Bash shells
  • Identify the major differences between versions of the shell language
  • Customize the way your Unix system responds to you
  • Set up your shell environment
  • Make use of functions
  • Debug scripts

Contents at a Glance

1  A Quick Review of the Basics

2  What Is the Shell?

3  Tools of the Trade

4  And Away We Go

5  Can I Quote You on That?

6  Passing Arguments

7  Decisions, Decisions

8  ‘Round and ‘Round She Goes

9  Reading and Printing Data

10 Your Environment

11 More on Parameters

12 Loose Ends

13 Rolo Revisited

14 Interactive and Nonstandard Shell Features

A Shell Summary

B For More Information

Author Biography

Stephen Kochan is a developer, trainer, and best-selling author. As lead developer for Tinder's iOS application, he managed development of major new features, including a complete redesign for iOS 7, Moments (photo capture and annotation), lists, and Passport. He also developed Tinder's Apple Watch app. Previously, he was senior/lead developer for several award-winning iOS applications, including Call of Duty Ghosts, Disney DMA, Frequency, and DirecTV. His ten bestselling books include Programming in Objective C and Programming in C. Formerly a software consultant and instructor at Bell Laboratories, he has 20+ years of teaching experience in Objective-C, C, shell programming, and Unix.


Patrick Wood is CTO at Electronics for Imaging, with responsibility for RandD for New Product Development. Formerly a member of technical staff at Bell Laboratories, he co-founded Pipeline Associates, Inc., a Unix consulting firm, with Stephen Kochan. With Kochan, he also co-authored five previous books, including Exploring the Unix System, Unix System Security, and Unix Shell Programming.

Table of Contents

1. A Quick Review of the Basics
2. What Is the Shell?
3. Tools of the Trade
4. And Away We Go
5. Can I Quote You on That?
6. Passing Arguments
7. Decisions, Decisions
8. 'Round and 'Round She Goes
9. Reading and Printing Data
10. Your Environment
11. More on Parameters
12. Loose Ends
13. Rolo Revisited
14. Interactive and Nonstandard Shell Features
Appendix A. Shell Summary
Appendix B. For More Information

Rewards Program

Write a Review