Learning the Korn Shell, Second Edition
By
Bill Rosenblatt,
Arnold Robbins
April 2002
Pages: 432
| Table of Contents
| Index
| Sample Chapter
| Colophon
Table of Contents
-
Chapter 1 Korn Shell Basics
-
What Is a Shell?
-
Scope of This Book
-
History of Unix Shells
-
Getting the 1993 Korn Shell
-
Interactive Shell Use
-
Files
-
Input and Output
-
Background Jobs
-
Special Characters and Quoting
-
Chapter 2 Command-Line Editing
-
Enabling Command-Line Editing
-
The History File
-
Emacs Editing Mode
-
Vi Editing Mode
-
The hist Command
-
Finger Habits
-
Chapter 3 Customizing Your Environment
-
The .profile File
-
Aliases
-
Options
-
Shell Variables
-
Customization and Subprocesses
-
Customization Hints
-
Chapter 4 Basic Shell Programming
-
Shell Scripts and Functions
-
Shell Variables
-
Compound Variables
-
Indirect Variable References (namerefs)
-
String Operators
-
Command Substitution
-
Advanced Examples: pushd and popd
-
Chapter 5 Flow Control
-
if/else
-
for
-
case
-
select
-
while and until
-
Chapter 6 Command-Line Options and Typed Variables
-
Command-Line Options
-
Numeric Variables and Arithmetic
-
Arithmetic for
-
Arrays
-
typeset
-
Chapter 7 Input/Output and Command-Line Processing
-
I/O Redirectors
-
String I/O
-
Command-Line Processing
-
Chapter 8 Process Handling
-
Process IDs and Job Numbers
-
Job Control
-
Signals
-
trap
-
Coroutines
-
Shell Subprocesses and Subshells
-
Chapter 9 Debugging Shell Programs
-
Basic Debugging Aids
-
A Korn Shell Debugger
-
Chapter 10 Korn Shell Administration
-
Installing the Korn Shell as the Standard Shell
-
Environment Customization
-
Customizing the Editing Modes
-
System Security Features
-
Appendix A Related Shells
-
The Bourne Shell
-
The 1988 Korn Shell
-
The IEEE 1003.2 POSIX Shell Standard
-
dtksh
-
tksh
-
pdksh
-
bash
-
zsh
-
Workalikes on PC Platforms
-
Appendix B Reference Information
-
Invocation Options
-
Built-in Commands and Keywords
-
Predefined Aliases
-
Built-in Shell Variables
-
Test Operators
-
Options
-
Typeset Options
-
Arithmetic
-
Emacs Mode Commands
-
vi Control Mode Commands
-
Using getopts
-
Appendix C Building ksh from Source Code
-
Korn Shell Web Sites
-
What You Can Download
-
Building ksh
-
Appendix D AT&T ast Source Code License Agreement
-
Colophon
Return to Learning the Korn Shell