Home > Store

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

Register your product to gain access to bonus material or receive a coupon.

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

Best Value Purchase

Book + eBook + Web Edition Bundle

  • Your Price: $48.59
  • List Price: $80.98
  • Includes EPUB, MOBI, and PDF
  • About eBook Formats
  • This eBook includes the following formats, accessible from your Account page after purchase:

    ePub EPUB The open industry format known for its reflowable content and usability on supported mobile devices.

    MOBI MOBI The eBook format compatible with the Amazon Kindle and Amazon Kindle applications.

    Adobe Reader PDF The popular standard, used most often with the free Adobe® Reader® software.

    This eBook requires no passwords or activation to read. We customize your eBook by discreetly watermarking it with your name, making it uniquely yours.

  • About this Web Edition
  • A Web Edition is an online learning product that you view in your web browser while connected to the Internet. Some Web Editions include additional interactive features, such as videos, quizzes, or live code editing. Read the product description for more details. A Web Edition will be accessible from your Account page after purchase.

    Viewing a Web Edition requires a web browser that fully supports HTML5. Supported platforms are:

    • Windows XP (Firefox only)
    • Windows 7, 8, or 10 (IE10, IE11, Chrome, or Firefox)
    • Mac OS X (Safari, Firefox, or Chrome)
    • Linux (Chrome or Firefox)
    • iOS 6, 7, or 8 (Mobile Safari)

More Purchase Options

Book + Web Edition

  • Your Price: $35.99
  • List Price: $44.99
  • About this Web Edition
  • A Web Edition is an online learning product that you view in your web browser while connected to the Internet. Some Web Editions include additional interactive features, such as videos, quizzes, or live code editing. Read the product description for more details. A Web Edition will be accessible from your Account page after purchase.

    Viewing a Web Edition requires a web browser that fully supports HTML5. Supported platforms are:

    • Windows XP (Firefox only)
    • Windows 7, 8, or 10 (IE10, IE11, Chrome, or Firefox)
    • Mac OS X (Safari, Firefox, or Chrome)
    • Linux (Chrome or Firefox)
    • iOS 6, 7, or 8 (Mobile Safari)

eBook (Watermarked) + Web Edition

  • Your Price: $28.79
  • List Price: $35.99
  • Includes EPUB, MOBI, and PDF
  • About eBook Formats
  • This eBook includes the following formats, accessible from your Account page after purchase:

    ePub EPUB The open industry format known for its reflowable content and usability on supported mobile devices.

    MOBI MOBI The eBook format compatible with the Amazon Kindle and Amazon Kindle applications.

    Adobe Reader PDF The popular standard, used most often with the free Adobe® Reader® software.

    This eBook requires no passwords or activation to read. We customize your eBook by discreetly watermarking it with your name, making it uniquely yours.

  • About this Web Edition
  • A Web Edition is an online learning product that you view in your web browser while connected to the Internet. Some Web Editions include additional interactive features, such as videos, quizzes, or live code editing. Read the product description for more details. A Web Edition will be accessible from your Account page after purchase.

    Viewing a Web Edition requires a web browser that fully supports HTML5. Supported platforms are:

    • Windows XP (Firefox only)
    • Windows 7, 8, or 10 (IE10, IE11, Chrome, or Firefox)
    • Mac OS X (Safari, Firefox, or Chrome)
    • Linux (Chrome or Firefox)
    • iOS 6, 7, or 8 (Mobile Safari)

Web Edition

  • Your Price: $28.79
  • List Price: $35.99
  • About this Web Edition
  • A Web Edition is an online learning product that you view in your web browser while connected to the Internet. Some Web Editions include additional interactive features, such as videos, quizzes, or live code editing. Read the product description for more details. A Web Edition will be accessible from your Account page after purchase.

    Viewing a Web Edition requires a web browser that fully supports HTML5. Supported platforms are:

    • Windows XP (Firefox only)
    • Windows 7, 8, or 10 (IE10, IE11, Chrome, or Firefox)
    • Mac OS X (Safari, Firefox, or Chrome)
    • Linux (Chrome or Firefox)
    • iOS 6, 7, or 8 (Mobile Safari)

About

Features

  • Shows today's Unix, Linux and Mac OS X users how to automate tasks and develop powerful shell scripts
  • Offers complete instructions for the standard Bourne shell, plus Bash and Korn shells too
  • Fully reflects today's most widely used Unix-based platforms: Oracle Solaris, Mac OS X, and Linux
  • Includes additional information requested by readers and instructors over the years

Description

  • Copyright 2017
  • Dimensions: 7" x 9"
  • Pages: 416
  • Edition: 4th
  • Book
  • ISBN-10: 0-13-449600-0
  • ISBN-13: 978-0-13-449600-9

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


Downloads

Downloads

Download: Exercise Files (201 KB .pdf)

Sample Content

Online Sample Chapter

The Testing Vocabulary

Sample Pages

Download the sample pages (includes Chapter 3 and the Index.)

Table of Contents

1 A Quick Review of the Basics

    Some Basic Commands

        Displaying the Date and Time: The date Command

        Finding Out Who’s Logged In: The who Command

        Echoing Characters: The echo Command

    Working with Files

        Listing Files: The ls Command

        Displaying the Contents of a File: The cat Command

        Counting the Number of Words in a File: The wc Command

        Command Options

        Making a Copy of a File: The cp Command

        Renaming a File: The mv Command

        Removing a File: The rm Command

    Working with Directories

        The Home Directory and Pathnames

        Displaying Your Working Directory: The pwd Command

        Changing Directories: The cd Command

        More on the ls Command

        Creating a Directory: The mkdir Command

        Copying a File from One Directory to Another

        Moving Files Between Directories

        Linking Files: The ln Command

        Removing a Directory: The rmdir Command

    Filename Substitution

        The Asterisk

        Matching Single Characters

    Filename Nuances

        Spaces in Filenames

        Other Weird Characters

    Standard Input/Output, and I/O Redirection

        Standard Input and Standard Output

        Output Redirection

        Input Redirection

    Pipes

        Filters

    Standard Error

    More on Commands

        Typing More Than One Command on a Line

        Sending a Command to the Background

        The ps Command

    Command Summary


2 What Is the Shell?

    The Kernel and the Utilities

    The Login Shell

    Typing Commands to the Shell

    The Shell’s Responsibilities

        Program Execution

        Variable and Filename Substitution

        I/O Redirection

        Hooking up a Pipeline

        Environment Control

Updates

Submit Errata

More Information

Unlimited one-month access with your purchase
Free Safari Membership