Description
Book SynopsisThe Korn Shell is an interactive command and scripting language for accessing Unixr and other computer systems. This work shows how to use the Korn Shell as a user interface and as a programing environment.
Table of ContentsPreface 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 Appendix B. Reference Information Appendix C. Building ksh from Source Code Appendix D. AT&T ast Source Code License Agreement Index