Book description
This Nutshell Handbook(R) is a thorough introduction to the Korn shell, both as a user interface and as a programming language.The Korn shell, like the C and Bourne shells, is a program that interprets UNIX commands. It has many features that aren't found in other shells, including command history (the ability to recall and edit previous commands). The Korn shell is also faster; several of its features allow you to write programs that execute more quickly than their Bourne or C shell equivalents.This book provides a clear and concise explanation of the Korn shell's features. It explains ksh string operations, co-processes, signals and signal handling, and one of the worst "dark corners" of shell programming: command-line interpretation. It does this by introducing simple real-life examples and then adding options and complexity in later chapters, illustrating the way real-world script development generally proceeds. An additional (and unique) programming aid, a Korn shell debugger (kshdb), is also included.Learning the Korn Shell is an ideal resource for many UNIX users and programmers, including software developers who want to "prototype" their designs, system administrators who want to write tools for their own use, and even novices who just want to use some of ksh's more advanced interactive features.
Publisher resources
Table of contents
- A Note Regarding Supplemental Files
- Preface
- 1. Korn Shell Basics
- 2. Command-line Editing
- 3. Customizing Your Environment
- 4. Basic Shell Programming
- 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 Lists
- C. Obtaining Sample Programs
- Index
- About the Author
- Colophon
- Copyright
Product information
- Title: Learning the Korn Shell
- Author(s):
- Release date: January 1993
- Publisher(s): O'Reilly Media, Inc.
- ISBN: 9781565920545
You might also like
book
Korn Shell Programming by Example
Korn Shell Programming by Example is a straight-forward, nuts and bolts book that will become a …
book
Korn Shell: Unix and Linux Programming Manual, Third Edition, The
If you are a Unix or Linux Shell programmer, this book will provide you with the …
book
Linux Shells by Example
The complete guide to bash and tsch—PLUS grep, sed, and gawk! Learn Linux shell programming hands-on! …
book
bash shell脚本编程经典实例 (第2版)
对于系统管理员、程序员和最终用户而言,shell命令或精心设计的shell脚本不仅能节省时间和精力,还可以提升各种常见任务的一致性和可重复性。作为一款流行的Unix shell,bash让你能够利用和自定义Unix或Linux系统的任意功能。 本书将全面讲述bash,内容适用于所有Unix和Linux用户,无论新人还是老手(包括熟练的Windows用户和管理员)。书中提供了300多个bash实例,每个实例均包含一个或多个示例脚本,能够帮你解决各种各样的问题。你将学到如何处理输入/输出、文件操作、程序执行、管理任务以及许多其他挑战。 本书实例包括: 标准输出和输入以及执行命令 shell变量、shell逻辑和算术 中级shell工具和高级脚本编写 使用find、locate和slocate查找文件 处理日期和时间 为各种最终用户任务创建shell脚本 处理涉及解析操作的任务 编写安全的shell脚本 配置和自定义bash