Books & Videos

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 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 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 Building ksh from Source Code

    1. Korn Shell Web Sites

    2. What You Can Download

    3. Building ksh

  4. Appendix AT&T ast Source Code License Agreement

  5. Colophon