Buying Options
Learning the Korn Shell, Second Edition
Print $34.95
Add to Cart
Safari Books Online
Add to Cart
What is this?
Print £26.99
Add to Cart
What is this?

Product Editions

  1. Learning the Korn Shell, Second Edition - April 2002
  2. Learning the Korn Shell - January 1993
Description
Learning the Korn Shell is the key to gaining control of the Korn shell and becoming adept at using it as an interactive command and scripting language. Readers will learn how to write many applications more easily and quickly than with other high-level languages. A solid offering for many years, this newly revised title inherits a long tradition of trust among computer professionals who want to learn or refine an essential skill.
Full Description
Table of Contents
  1. Chapter 1 Korn Shell Basics

    1. What Is a Shell?

    2. Scope of This Book

    3. History of Unix Shells

    4. Getting the 1993 Korn Shell

    5. Interactive Shell Use

    6. Files

    7. Input and Output

    8. Background Jobs

    9. Special Characters and Quoting

  2. Chapter 2 Command-Line Editing

    1. Enabling Command-Line Editing

    2. The History File

    3. Emacs Editing Mode

    4. Vi Editing Mode

    5. The hist Command

    6. Finger Habits

  3. Chapter 3 Customizing Your Environment

    1. The .profile File

    2. Aliases

    3. Options

    4. Shell Variables

    5. Customization and Subprocesses

    6. Customization Hints

  4. Chapter 4 Basic Shell Programming

    1. Shell Scripts and Functions

    2. Shell Variables

    3. Compound Variables

    4. Indirect Variable References (namerefs)

    5. String Operators

    6. Command Substitution

    7. Advanced Examples: pushd and popd

  5. Chapter 5 Flow Control

    1. if/else

    2. for

    3. case

    4. select

    5. while and until

  6. Chapter 6 Command-Line Options and Typed Variables

    1. Command-Line Options

    2. Numeric Variables and Arithmetic

    3. Arithmetic for

    4. Arrays

    5. typeset

  7. Chapter 7 Input/Output and Command-Line Processing

    1. I/O Redirectors

    2. String I/O

    3. Command-Line Processing

  8. Chapter 8 Process Handling

    1. Process IDs and Job Numbers

    2. Job Control

    3. Signals

    4. trap

    5. Coroutines

    6. Shell Subprocesses and Subshells

  9. Chapter 9 Debugging Shell Programs

    1. Basic Debugging Aids

    2. A Korn Shell Debugger

  10. Chapter 10 Korn Shell Administration

    1. Installing the Korn Shell as the Standard Shell

    2. Environment Customization

    3. Customizing the Editing Modes

    4. System Security Features

  1. Appendix A Related Shells

    1. The Bourne Shell

    2. The 1988 Korn Shell

    3. The IEEE 1003.2 POSIX Shell Standard

    4. dtksh

    5. tksh

    6. pdksh

    7. bash

    8. zsh

    9. Workalikes on PC Platforms

  2. Appendix B Reference Information

    1. Invocation Options

    2. Built-in Commands and Keywords

    3. Predefined Aliases

    4. Built-in Shell Variables

    5. Test Operators

    6. Options

    7. Typeset Options

    8. Arithmetic

    9. Emacs Mode Commands

    10. vi Control Mode Commands

    11. Using getopts

  3. Appendix C Building ksh from Source Code

    1. Korn Shell Web Sites

    2. What You Can Download

    3. Building ksh

  4. Appendix D AT&T ast Source Code License Agreement

  5. Colophon

View Full Table of Contents
Product Details
Title:
Learning the Korn Shell, Second Edition
By:
Arnold Robbins, Bill Rosenblatt
Publisher:
O'Reilly Media
Formats:
  • Print
  • Safari Books Online
Print Release:
April 2002
Pages:
432
Print ISBN:
978-0-596-00195-7
| ISBN 10:
0-596-00195-9
Customer Reviews
About the Author
  1. Arnold Robbins

    Arnold Robbins, an Atlanta native, is a professional programmer and technical author. He has worked with Unix systems since 1980, when he was introduced to a PDP-11 running a version of Sixth Edition Unix. He has been a heavy AWK user since 1987, when he became involved with gawk, the GNU project's version of AWK. As a member of the POSIX 1003.2 balloting group, he helped shape the POSIX standard for AWK. He is currently the maintainer of gawk and its documentation. He is also coauthor of the sixth edition of O'Reilly's Learning the vi Editor. Since late 1997, he and his family have been living happily in Israel.

    View Arnold Robbins's full profile page.

Colophon

Our look is the result of reader comments, our own experimentation, and feedback from distribution channels. Distinctive covers complement our distinctive approach to technical topics, breathing personality and life into potentially dry subjects. The animal on the cover of Learning the Korn Shell is a hawksbill turtle. The name "hawksbill" refers to its prominent hooked beak. This marine reptile is one of the smaller sea turtles, having a carapace (upper shell) length of about two feet and weighing about one hundred pounds. Among pelagic turtles, the hawksbill alone has the tendency to feed and breed in the same area, preferring the tropical shoals and reefs of the world's oceans.

Primarily carnivorous, the hawksbill feeds on crabs, fish, sponges, and jellyfish. The turtle's flesh can be poisonous; in some places, fisherman test for poison by throwing the turtle's liver to the crows. If the birds reject the liver, the hawksbill is toxic.

The hawksbill turtle is the sole source of authentic "tortoiseshell," which comes from the scutes, or outer layer of the carapace. Tortoiseshell has been harvested through the years-from ancient Egypt to the present-and is highly valued for its beauty and plasticity. As a result, the hawksbill is endangered. Illegal trade continues to threaten this species' existence. Leanne Soylemez was the production editor and proofreader for Learning the Korn Shell, Second Edition. Kate Briggs was the copyeditor. Mary Brady and Jane Ellin provided quality control. Brenda Miller wrote the index.

Edie Freedman designed the cover of this book. The cover image is a 19th-century engraving from the Dover Pictorial Archive. Emma Colby produced the cover layout with QuarkXPress 4.1 using Adobe's ITC Garamond font.

Melanie Wang and David Futato designed the interior layout based on a series design by Nancy Priest. The print version of this book was created by translating the DocBook XML markup of its source files into a set of gtroff macros using a filter developed at O'Reilly & Associates by Norman Walsh. Steve Talbott designed and wrote the underlying macro set on the basis of the GNU troff -mgs macros; Lenny Muellner adapted them to XML and implemented the book design. The GNU groff text formatter version 1.11.1 was used to generate PostScript output. The text and heading fonts are ITC Garamond Light and Garamond Book; the code font is Constant Willison. The illustrations that appear in the book were produced by Robert Romano, Jessamyn Read, and Chris Reilley, using Macromedia FreeHand 9 and Adobe Photoshop 6. This colophon was written by Michael Kalantarian.

  • Book cover of Learning the Korn Shell