
Learning the Korn Shell
Description
Alles über E-Books | Antworten auf Fragen rund um E-Books, Kopierschutz und Dateiformate finden Sie in unserem Info- & Hilfebereich.
More details
Other editions
New editions

Additional editions

Content
- Cover
- Copyright
- Table of Contents
- Preface
- Korn Shell Versions
- Summary of Korn Shell Features
- Intended Audience
- Code Examples
- Chapter Summary
- Conventions Used in This Handbook
- Acknowledgments
- We'd Like to Hear From You
- Chapter 1. Korn Shell Basics
- What Is a Shell?
- Scope of This Book
- History of UNIX Shells
- The Korn Shell
- Features of the Korn Shell
- Getting the Korn Shell
- Interactive Shell Use
- Commands, Arguments, and Options
- Files
- Directories
- Filenames and Wildcards
- Input and Output
- Standard I/O
- I/O Redirection
- Pipelines
- Background Jobs
- Background I/O
- Background Jobs and Priorities
- Special Characters and Quoting
- Quoting
- Backslash-escaping
- Quoting Quotation Marks
- Continuing Lines
- Control Keys
- Chapter 2. Command-line Editing
- Enabling Command-line Editing
- The History File
- Emacs Editing Mode
- Basic Commands
- Word Commands
- Line Commands
- Moving Around in the History File
- Filename Completion and Expansion
- Miscellaneous Commands
- Keyboard Shortcuts with Aliases
- Vi Editing Mode
- Simple Control Mode Commands
- Entering and Changing Text
- Deletion Commands
- Moving Around in the History File
- Character-finding Commands
- Filename Completion
- Miscellaneous Commands
- The fc Command
- Finger Habits
- Chapter 3. Customizing Your Environment
- The .profile File
- Aliases
- Tracked Aliases
- Options
- Shell Variables
- Variables and Quoting
- Built-in Variables
- Directory Search Path
- Customization and Subprocesses
- Environment Variables
- The Environment File
- Customization Hints
- Chapter 4. Basic Shell Programming
- Shell Scripts and Functions
- Functions
- Shell Variables
- Positional Parameters
- More on Variable Syntax
- String Operators
- Syntax of String Operators
- Patterns and Regular Expressions
- Pattern-matching Operators
- Length Operator
- Command Substitution
- Advanced Examples: pushd and popd
- Chapter 5. Flow Control
- if/else
- Exit Status and Return
- Combinations of Exit Statuses
- Condition Tests
- Integer Conditionals
- for
- case
- select
- while and until
- Chapter 6. Command-line Options and Typed Variables
- Command-line Options
- shift
- Options with Arguments
- getopts
- Integer Variables and Arithmetic
- Arithmetic Conditionals
- Arithmetic Variables and Assignment
- Arrays
- typeset
- Local Variables in Functions
- String Formatting Options
- Type and Attribute Options
- Function Options
- Chapter 7. Input/Output and Command-line Processing
- I/O Redirectors
- Here-documents
- File Descriptors
- String I/O
- read
- Command-line Processing
- Quoting
- eval
- Chapter 8. Process Handling
- Process IDs and Job Numbers
- Job Control
- Foreground and Background
- Suspending a Job
- Signals
- Control-key Signals
- kill
- ps
- trap
- Traps and Functions
- Process ID Variables and Temporary Files
- Ignoring Signals
- Resetting Traps
- Coroutines
- wait
- Advantages and Disadvantages of Coroutines
- Parallelization
- Coroutines with Two-way Pipes
- Two-way Pipes Versus Standard Pipes
- Subshells
- Subshell Inheritance
- Nested Subshells
- Chapter 9. Debugging Shell Programs
- Basic Debugging Aids
- Set Options
- Fake Signals
- A Korn Shell Debugger
- Structure of the Debugger
- The Preamble
- Debugger Functions
- Sample kshdb Session
- Exercises
- Chapter 10. Korn Shell Administration
- Installing the Korn Shell as the Standard Shell
- Environment Customization
- umask
- ulimit
- Types of Global Customization
- System Security Features
- Restricted Shell
- A System Break-in Scenario
- Tracked Aliases
- Privileged Mode
- Appendix A. Related Shells
- The Bourne Shell
- The IEEE 1003.2 POSIX Shell Standard
- wksh
- pdksh
- bash
- Workalikes on PC Platforms
- The Future of the Korn Shell
- Appendix B. Reference Lists
- Invocation Options
- Built-in Commands and Keywords
- Built-in Shell Variables
- Test Operators
- Options
- Typeset Options
- Emacs Mode Commands
- Vi Control Mode Commands
- Appendix C. Obtaining Sample Programs
- FTP
- FTPMAIL
- BITFTP
- UUCP
- Index
- About the Author
System requirements
File format: ePUB
Copy protection: Adobe-DRM (Digital Rights Management)
System requirements:
- Computer (Windows; MacOS X; Linux): Install the free reader Adobe Digital Editions prior to download (see eBook Help).
- Tablet/smartphone (Android; iOS): Install the free app Adobe Digital Editions or the app PocketBook before downloading (see eBook Help).
- E-reader: Bookeen, Kobo, Pocketbook, Sony, Tolino and many more (not Kindle).
The file format ePub works well for novels and non-fiction books – i.e., „flowing” text without complex layout. On an e-reader or smartphone, line and page breaks automatically adjust to fit the small displays.
This eBook uses Adobe-DRM, a „hard” copy protection. If the necessary requirements are not met, unfortunately you will not be able to open the eBook. You will therefore need to prepare your reading hardware before downloading.
Please note: We strongly recommend that you authorise using your personal Adobe ID after installation of any reading software.
For more information, see our ebook Help page.