Overview

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 ...

See more details below
Learning the Korn Shell

Available on NOOK devices and apps  
  • NOOK Devices
  • Samsung Galaxy Tab 4 NOOK 7.0
  • Samsung Galaxy Tab 4 NOOK 10.1
  • NOOK HD Tablet
  • NOOK HD+ Tablet
  • NOOK eReaders
  • NOOK Color
  • NOOK Tablet
  • Tablet/Phone
  • NOOK for Windows 8 Tablet
  • NOOK for iOS
  • NOOK for Android
  • NOOK Kids for iPad
  • PC/Mac
  • NOOK for Windows 8
  • NOOK for PC
  • NOOK for Mac
  • NOOK for Web

Want a NOOK? Explore Now

NOOK Book (eBook)
$15.49
BN.com price
(Save 44%)$27.99 List Price

Overview

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.


Presents the Korn shell for users a step above the beginner level. You learn how to use the shell interactively, and you also learn how to program in the shell to be able to write efficient scripts. An appendix provides information on other shells. Shell script programming is demonstrated via a practical example from a script debugger.

Read More Show Less

Product Details

  • ISBN-13: 9781449371272
  • Publisher: O'Reilly Media, Incorporated
  • Publication date: 5/14/2013
  • Sold by: Barnes & Noble
  • Format: eBook
  • Edition number: 2
  • Pages: 434
  • File size: 2 MB

Meet the Author

Arnold Robbins, an Atlanta native, is a professional programmer and technical author. He has worked with Unix systems since 1980, when he was introduced to a PDP-11 running a version of Sixth Edition Unix. He has been a heavy AWK user since 1987, when he became involved with gawk, the GNU project's version of AWK. As a member of the POSIX 1003.2 balloting group, he helped shape the POSIX standard for AWK. He is currently the maintainer of gawk and its documentation. He is also coauthor of the sixth edition of O'Reilly's Learning the vi Editor. Since late 1997, he and his family have been living happily in Israel.

Read More Show Less

Table of Contents

Dedication; Preface; Korn Shell Versions; Summary of Korn Shell Features; Intended Audience; Code Examples; Chapter Summary; Conventions Used in This Handbook; About the Second Edition; We’d Like to Hear From You; Acknowledgments; Acknowledgments from the First Edition; Chapter 1: Korn Shell Basics; 1.1 What Is a Shell?; 1.2 Scope of This Book; 1.3 History of Unix Shells; 1.4 Getting the 1993 Korn Shell; 1.5 Interactive Shell Use; 1.6 Files; 1.7 Input and Output; 1.8 Background Jobs; 1.9 Special Characters and Quoting; Chapter 2: Command-Line Editing; 2.1 Enabling Command-Line Editing; 2.2 The History File; 2.3 Emacs Editing Mode; 2.4 Vi Editing Mode; 2.5 The hist Command; 2.6 Finger Habits; Chapter 3: Customizing Your Environment; 3.1 The .profile File; 3.2 Aliases; 3.3 Options; 3.4 Shell Variables; 3.5 Customization and Subprocesses; 3.6 Customization Hints; Chapter 4: Basic Shell Programming; 4.1 Shell Scripts and Functions; 4.2 Shell Variables; 4.3 Compound Variables; 4.4 Indirect Variable References (namerefs); 4.5 String Operators; 4.6 Command Substitution; 4.7 Advanced Examples: pushd and popd; Chapter 5: Flow Control; 5.1 if/else; 5.2 for; 5.3 case; 5.4 select; 5.5 while and until; Chapter 6: Command-Line Options and Typed Variables; 6.1 Command-Line Options; 6.2 Numeric Variables and Arithmetic; 6.3 Arithmetic for; 6.4 Arrays; 6.5 typeset; Chapter 7: Input/Output and Command-Line Processing; 7.1 I/O Redirectors; 7.2 String I/O; 7.3 Command-Line Processing; Chapter 8: Process Handling; 8.1 Process IDs and Job Numbers; 8.2 Job Control; 8.3 Signals; 8.4 trap; 8.5 Coroutines; 8.6 Shell Subprocesses and Subshells; Chapter 9: Debugging Shell Programs; 9.1 Basic Debugging Aids; 9.2 A Korn Shell Debugger; Chapter 10: Korn Shell Administration; 10.1 Installing the Korn Shell as the Standard Shell; 10.2 Environment Customization; 10.3 Customizing the Editing Modes; 10.4 System Security Features; Related Shells; The Bourne Shell; The 1988 Korn Shell; The IEEE 1003.2 POSIX Shell Standard; dtksh; tksh; pdksh; bash; zsh; Workalikes on PC Platforms; Reference Information; Invocation Options; Built-in Commands and Keywords; Predefined Aliases; Built-in Shell Variables; Test Operators; Options; Typeset Options; Arithmetic; Emacs Mode Commands; vi Control Mode Commands; Using getopts; Building ksh from Source Code; Korn Shell Web Sites; What You Can Download; Building ksh; AT&T ast Source Code License Agreement; Colophon;

Arnold Robbins, an Atlanta native, is a professional programmer and technical author. He has worked with Unix systems since 1980, when he was introduced to a PDP-11 running a version of Sixth Edition Unix. He has been a heavy AWK user since 1987, when he became involved with gawk, the GNU project's version of AWK. As a member of the POSIX 1003.2 balloting group, he helped shape the POSIX standard for AWK. He is currently the maintainer of gawk and its documentation. He is also coauthor of the sixth edition of O'Reilly's Learning the vi Editor. Since late 1997, he and his family have been living happily in Israel.

Read More Show Less

Customer Reviews

Be the first to write a review
( 0 )
Rating Distribution

5 Star

(0)

4 Star

(0)

3 Star

(0)

2 Star

(0)

1 Star

(0)

Your Rating:

Your Name: Create a Pen Name or

Barnes & Noble.com Review Rules

Our reader reviews allow you to share your comments on titles you liked, or didn't, with others. By submitting an online review, you are representing to Barnes & Noble.com that all information contained in your review is original and accurate in all respects, and that the submission of such content by you and the posting of such content by Barnes & Noble.com does not and will not violate the rights of any third party. Please follow the rules below to help ensure that your review can be posted.

Reviews by Our Customers Under the Age of 13

We highly value and respect everyone's opinion concerning the titles we offer. However, we cannot allow persons under the age of 13 to have accounts at BN.com or to post customer reviews. Please see our Terms of Use for more details.

What to exclude from your review:

Please do not write about reviews, commentary, or information posted on the product page. If you see any errors in the information on the product page, please send us an email.

Reviews should not contain any of the following:

  • - HTML tags, profanity, obscenities, vulgarities, or comments that defame anyone
  • - Time-sensitive information such as tour dates, signings, lectures, etc.
  • - Single-word reviews. Other people will read your review to discover why you liked or didn't like the title. Be descriptive.
  • - Comments focusing on the author or that may ruin the ending for others
  • - Phone numbers, addresses, URLs
  • - Pricing and availability information or alternative ordering information
  • - Advertisements or commercial solicitation

Reminder:

  • - By submitting a review, you grant to Barnes & Noble.com and its sublicensees the royalty-free, perpetual, irrevocable right and license to use the review in accordance with the Barnes & Noble.com Terms of Use.
  • - Barnes & Noble.com reserves the right not to post any review -- particularly those that do not follow the terms and conditions of these Rules. Barnes & Noble.com also reserves the right to remove any review at any time without notice.
  • - See Terms of Use for other conditions and disclaimers.
Search for Products You'd Like to Recommend

Recommend other products that relate to your review. Just search for them below and share!

Create a Pen Name

Your Pen Name is your unique identity on BN.com. It will appear on the reviews you write and other website activities. Your Pen Name cannot be edited, changed or deleted once submitted.

 
Your Pen Name can be any combination of alphanumeric characters (plus - and _), and must be at least two characters long.

Continue Anonymously
Sort by: Showing 1 Customer Reviews
  • Anonymous

    Posted July 28, 2005

    Very poor book

    This book is too wordy, and there is too many jumping around. For simple case, the author explains it in very complicated manner. I cannot keep on reading the book.

    Was this review helpful? Yes  No   Report this review
Sort by: Showing 1 Customer Reviews

If you find inappropriate content, please report it to Barnes & Noble
Why is this product inappropriate?
Comments (optional)