Book description
The Korn shell is an interactive command and scripting language for accessing Unix® and other computer systems. As a complete and high-level programming language in itself, it's been a favorite since it was developed in the mid 1980s by David G. Korn at AT&T Bell Laboratories. Knowing how to use it is an essential skill for serious Unix users. Learning the Korn Shell shows you how to use the Korn shell as a user interface and as a programming environment.Writing applications is often easier and quicker with Korn than with other high-level languages. Because of this, the Korn shell is the most often used shell in commercial environments and among inexperienced users. There are two other widely used shells, the Bourne shell and the C shell. The Korn shell, or ksh, has the best features of both, plus many new features of its own. ksh can do much to enhance productivity and the quality of a user's work, both in interacting with the system, and in programming. The new version, ksh93, has the functionality of other scripting languages such as awk, icon, Perl, rexx, and tcl.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. Prior programming experience is not required in order to understand the chapters on basic shell programming. Readers will learn how to write many applications more easily and quickly than with other high-level languages. In addition, readers will also learn about Unix utilities and the way the Unix operating system works in general. The authors maintain that you shouldn't have to be an internals expert to use and program the shell effectively.The second edition covers all the features of the current version of the Korn shell, including many new features not in earlier versions of ksh93, making it the most up-to-date reference available on the Korn shell. It compares the current version of the Korn shell to several other Bourne-compatible shells, including several Unix emulation environments for MS-DOS and Windows. In addition, it describes how to download and build ksh93 from source code.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.
Publisher resources
Table of contents
- Dedication
- A Note Regarding Supplemental Files
- Preface
- 1. Korn Shell Basics
- 2. Command-Line Editing
- 3. Customizing Your Environment
-
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
- 5. Flow Control
- 6. Command-Line Options and Typed Variables
- 7. Input/Output and Command-Line Processing
- 8. Process Handling
- 9. Debugging Shell Programs
- 10. Korn Shell Administration
- A. Related Shells
- B. Reference Information
- C. Building ksh from Source Code
- D. AT&T ast Source Code License Agreement
- Index
- About the Authors
- Colophon
- Copyright
Product information
- Title: Learning the Korn Shell, 2nd Edition
- Author(s):
- Release date: April 2002
- Publisher(s): O'Reilly Media, Inc.
- ISBN: 9780596001957
You might also like
book
Learning the bash Shell, 3rd Edition
O'Reilly's bestselling book on Linux's bash shell is at it again. Now that Linux is an …
book
Learning Python, 5th Edition
Get a comprehensive, in-depth introduction to the core Python language with this hands-on book. Based on …
book
Python for Kids, 2nd Edition
Python is a powerful, expressive programming language that’s easy to learn and fun to use! But …
book
Python in a Nutshell, 4th Edition
Python was recently ranked as today's most popular programming language on the TIOBE index, thanks to …