Shell Programming in Unix, Linux and OS X (häftad)
Fler böcker inom
Häftad (Paperback)
Antal sidor
Kochan, Stephen / Wood, Patrick
226 x 178 x 18 mm
658 g
Antal komponenter
Shell Programming in Unix, Linux and OS X (häftad)

Shell Programming in Unix, Linux and OS X

The Fourth Edition of Unix Shell Programming

Häftad Engelska, 2016-10-04
  • Skickas inom 7-10 vardagar.
  • Gratis frakt inom Sverige över 199 kr för privatpersoner.
Shell Programming in Unix, Linux and OS X is a thoroughly updated revision of Kochan and Woods 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 books authors take you step-by-step through the process of building shell scripts, debugging them, and understanding how they work within the shells 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 shells built-in decision-making and looping constructs
  • Use the shells powerful quoting mechanisms
  • Make the most of the shells 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

Visa hela texten

Passar bra ihop

  1. Shell Programming in Unix, Linux and OS X
  2. +
  3. HTML & CSS: Design and Build Web Sites

De som köpt den här boken har ofta också köpt HTML & CSS: Design and Build Web Sites av Jon Duckett (häftad).

Köp båda 2 för 558 kr


Har du läst boken? Sätt ditt betyg »

Fler böcker av Stephen G Kochan

  • Programming in C

    Stephen G Kochan

    Programming in C will teach you how to write programs in the C programming language. Whether youre a novice or experienced programmer, this book will provide you with a clear understanding of this language, which is the foundation for many object-...

  • Programming in Objective-C

    Stephen G Kochan

    Programming in Objective-C is a relatively concise, carefully written tutorial on the basics of Objective-C and object-oriented programming for Apple's iOS and Mac platforms. The book makes no assumptions about prior experience with object-oriente...

Övrig information

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.


1 A Quick Review of the Basics

    Some Basic Commands

        Displaying the Date and Time: The date Command

        Finding Out Whos 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



    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 Shells Responsibilities

        Program Execution

        Variable and Filename Substitution

        I/O Redirection

        Hooking up a Pipeline

        Environment Control

        Interpreted Programming ...