Poetry Madness

Special Offers see all

Enter to WIN a $100 Credit

Subscribe to PowellsBooks.news
for a chance to win.
Privacy Policy

Visit our stores

    Recently Viewed clear list

    Lists | April 3, 2015

    David Shields and Elizabeth Cooperman: IMG 50 Books of Literary Collage

    We cowrote and coedited Life Is Short — Art Is Shorter: In Praise of Brevity. We're interested in brief prose (short-shorts and mini-essays),... Continue »

Qualifying orders ship free.
Used Trade Paper
Ships in 1 to 3 days
Add to Wishlist
Qty Store Section
1 Local Warehouse COMP- UNIX ENDUSER

More copies of this ISBN

Learning the Korn Shell 1ST Edition


Learning the Korn Shell 1ST Edition Cover


Synopses & Reviews

Publisher Comments:

This Nutshell Handbook® 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.

Book News Annotation:

A thorough introduction to UNIX's newest and most powerful command interpreter, which combines the best features of the older Bourne and C shells, in addition to providing many new features of its own. The volume provides a guide to all aspects of Korn shell usage: interactive "command line" use, plus coverage of shell programming.
Annotation c. Book News, Inc., Portland, OR (booknews.com)


A thorough introduction to the Korn Shell, both as a user interface and as a programming language, this book provides a clear and concise explanation of the Korn Shell's features. It is an ideal resource for many UNIX users and programmers, including software developers, systems administrators, and even novice users.

About the Author

Bill Rosenblatt is president of GiantSteps/Media Technology Strategies, a consulting firm in New York City. Before founding GiantSteps, Bill was CTO of Fathom, an online content and education company associated with Columbia University and other scholarly institutions. He has been a technology executive at McGraw-Hill and Times Mirror, and head of strategic marketing for media and publishing at Sun Microsystems. Bill was also one of the architects of the Digital Object Identifier (DOI), a standard for online content identification and DRM.

Table of Contents

 Table of Contents Preface  Korn Shell Versions Summary of Korn Shell Features Intended Audience Code Examples Chapter Summary  Conventions Used in This Handbook Acknowledgments 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 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 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 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 5. Flow Control  if/else Exit Status and Return Combinations of Exit Statuses Condition Tests Integer Conditionals for case select while and until 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 7. Input/Output and Command-line Processing  I/O Redirectors Here-documents File Descriptors String I/O print read Command-line Processing Quoting eval 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 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 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 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 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 C. Obtaining Sample Programs and Problem Set Answers Figures  1. Korn Shell Basics  1-1 The shell is a layer around the UNIX operating system 1-2 A tree of directories and files 4. Basic Shell Programming  4-1 Ways to run a shell script 4-2 Functions have their own positional parameters. 5. Flow Control  5-1 Files produced by a C compiler 6. Command-line Options and Typed Variables  6-1 Local variables in functions 7. Input/Output and Command-line Processing  7-1 Steps in Command-line Processing 8. Process Handling  8-1 Background Jobs in Multiple Windows 8-2 Coroutine I/O 

Product Details

Rosenblatt, Bill
Loukides, Mike
Rosenblatt, Bill
O'Reilly Media
Sebastopol, CA :
Programming - General
Operating Systems - UNIX
Operating Systems - IBM Compatible
Computer programs
UNIX (Computer file)
Kornshell (computer program language)
Programming Languages.
Unix (Operating system).
Computer Bks - Operating Systems
Korn shell (Computer program l
Linguagem De Programacao
General Computers
CourseSmart Subject Description
Edition Number:
1st ed.
Edition Description:
Print PDF
A nutshell handbook
Series Volume:
Publication Date:
9 x 6 x 0.78 in 1.13 lb

Other books you might like

  1. Korn Shell : Linux and Unix Shell... Used Trade Paper $31.00
  2. Unix Shells By Example 4TH Edition Used Trade Paper $40.00
  3. Unix Internals: The New Frontiers Used Hardcover $27.00
  4. Hal Lindsey Apocalypse Code Used Hardcover $9.95
  5. Sed & Awk 2ND Edition
    New Trade Paper $39.99
  6. Difficult Conversations: How to... Used Trade Paper $7.50

Related Subjects

Computers and Internet » Operating Systems » General
Computers and Internet » Operating Systems » Unix » Unix Administration
Computers and Internet » Operating Systems » Unix » Unix Enduser
Computers and Internet » Operating Systems » Unix » Unix and Linux Shells

Learning the Korn Shell 1ST Edition Used Trade Paper
0 stars - 0 reviews
$1.00 In Stock
Product details 360 pages O'Reilly & Associates Inc. - English 9781565920545 Reviews:
"Synopsis" by ,
A thorough introduction to the Korn Shell, both as a user interface and as a programming language, this book provides a clear and concise explanation of the Korn Shell's features. It is an ideal resource for many UNIX users and programmers, including software developers, systems administrators, and even novice users.
  • back to top


Powell's City of Books is an independent bookstore in Portland, Oregon, that fills a whole city block with more than a million new, used, and out of print books. Shop those shelves — plus literally millions more books, DVDs, and gifts — here at Powells.com.