or
Sign in to turn on 1-Click ordering.
or
Amazon Prime Free Trial required. Sign up when you check out. Learn More
More Buying Choices
Have one to sell? Sell yours here
New KornShell Command And Programming Language, The (2nd Edition)
 
See larger image
 
Tell the Publisher!
I'd like to read this book on Kindle

Don't have a Kindle? Get your Kindle here, or download a FREE Kindle Reading App.

New KornShell Command And Programming Language, The (2nd Edition) [Paperback]

Morris I. Bolsky (Author), David G. Korn (Author)
4.4 out of 5 stars  See all reviews (14 customer reviews)

List Price: $72.67
Price: $57.46 & this item ships for FREE with Super Saver Shipping. Details
You Save: $15.21 (21%)
  Special Offers Available
o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o
In Stock.
Ships from and sold by Amazon.com. Gift-wrap available.
Only 4 left in stock--order soon (more on the way).
Want it delivered Monday, January 30? Choose One-Day Shipping at checkout. Details
Textbook Student FREE Two-Day Shipping for Students. Learn more


Book Description

0131827006 978-0131827004 April 6, 1995 2

This is a Second Edition of the best-selling guide to the KornShell command and programming language by the original inventors of the language. It provides a specification for the KornShell language, tutorial material for those new to ksh (the program that implements the KornShell language), and a comprehensive reference for all ksh users. Covers major new additions to the KornShell language ksh93 (including command completion and a key binding mechanism); provides tutorials for both of the functions of ksh (as an interactive command language, and as a programming language); contains numerous examples illustrating the features of ksh; and features a Quick Reference summary of the KornShell language with page references to the book. For both new users with little shell experience, and for experienced computer users who are familiar with ksh and/or other shells. ISBN of 1st Edition: 0-13-516972-02.


Special Offers and Product Promotions

  • Buy $50 in qualifying physical textbooks, get $5 in Amazon MP3 Credit. Here's how (restrictions apply)

Frequently Bought Together

New KornShell Command And Programming Language, The (2nd Edition) + KornShell Programming Tutorial + Learning the Korn Shell (2nd Edition)
Price For All Three: $117.14

Show availability and shipping details

Buy the selected items together
  • In Stock.
    Ships from and sold by Amazon.com.
    This item ships for FREE with Super Saver Shipping. Details

  • KornShell Programming Tutorial $36.62

    In Stock.
    Ships from and sold by Amazon.com.
    This item ships for FREE with Super Saver Shipping. Details

  • Learning the Korn Shell (2nd Edition) $23.06

    In Stock.
    Ships from and sold by Amazon.com.
    Eligible for FREE Super Saver Shipping on orders over $25. Details



Editorial Reviews

From the Publisher

This is a Second Edition of the best-selling guide to the KornShell command and programming languge by the original inventors of the language. It provides a specification for the KornShell language, tutorial material for those new to ksh (the program that implements the KornShell language), and a comprehensive reference and for all ksh users.

From the Inside Flap

This second edition of the KornShell book is the specification of the revised KornShell language and a reference handbook for ksh, the program that implements the KornShell language.

The language has undergone major changes and additions since the first edition. The new features of the language have increased the scope of applications that are suitable for writing in ksh. In addition, command completion and a key binding mechanism have been added to this version of ksh.

This book also contains a Tutorial that describes both of the functions of ksh: as an interactive command language, and as a programming language. It contains numerous examples illustrating the features of ksh, and many chapters have exercises. It also contains a Quick Reference summary of the KornShell language, including page references to the book. The format of this second edition is similar to that of the first edition. This makes it easy for readers familiar with the first edition to use this book. In addition to describing the new features of the language, many reader suggestions have been incorporated.

This book is intended both for new users with little computer or shell experience, and for experienced computer users who are familiar with ksh and/or other shells. For new users, it has considerable tutorial material. For all users, it is a comprehensive reference handbook.

What is the KornShell Language? The KornShell language was designed and developed by David G. Korn at AT&T Bell Laboratories. It is an interactive command language that provides access to the UNIX system and to many other systems, on the many different computers and workstations on which it is implemented. The KornShell language is also a complete, powerful, high-level programming language for writing applications, often more easily and quickly than with other high-level languages. This makes it especially suitable for prototyping. There are two other widely used shells, the Bourne shell developed by Steven Bourne at AT&T Bell Laboratories, and the C shell developed by Bill Joy at the University of California. ksh has the best features of both, plus many new features of its own. Thus ksh can do much to enhance your productivity and the quality of your work, both in interacting with the system, and in programming. ksh programs are easier to write, and are more concise and readable than programs written in a lower level language such as C.

The new version of ksh has the functionality of other scripting languages such as awk, icon, perl, rexx, and tcl. For this and many other reasons, ksh is a much better scripting language than any of the other popular shells. The code size for ksh is larger than the Bourne shell or C shell programs. The revised version is even larger.

In spite of its increased size, ksh provides better performance. You can write programs to run faster with ksh than with either the Bourne shell or the C shell, sometimes an order of magnitude faster. ksh has evolved and matured with extensive user feedback. It has been used by many thousands of people at AT&T since 1982, and at many other companies and universities. A survey conducted at one of the largest AT&T Bell Laboratories computer centers showed that 80% of their customers, both programmers and non-programmers, use ksh. ksh is compatible with the Bourne shell. Virtually all programs written for the Bourne shell run with ksh. If you are familiar with the Bourne shell, you can use ksh immediately, without retraining. The new version of ksh is compatible with earlier versions of ksh. ksh is readily available. It is sold (source and binary) by AT&T and Novell, and by other companies under license from AT&T both in the USA and abroad. It has been purchased by dozens of major corporations, and by many individuals for use on home computers. ksh is extensible.

The KornShell language uses the same syntax for built-in commands as for non built-in commands. Therefore, system developers can add new commands "transparently" to the KornShell language; that is, with minimum effort and with no differences visible to users other than faster execution. On systems with dynamic linking, it is possible to add new built-in commands at run time. Novell has extended the new version of ksh to enable X-windows programming for their desktop ksh product, dtksh. dtksh is a standard part of CDE, the Common Desktop Environment defined by COSE (Common Operating System Environment), supported by most major UNIX system hardware vendors.

ksh is intended to conform to the Shell Language Standard developed by the IEEE POSIX 1003.2 Shell and Utilities Language Committee. At the time the manuscript of this book was sent to the publisher, 1992 was the current version of the POSIX Standard. To the best of our knowledge, the description of ksh in this book is consistent with the 1992 standard.

Organization of this Book

Part I, Introduction, tells what a shell is and lists the benefits of the KornShell language. It tells how to obtain ksh and explains about different versions of ksh. It also specifies the notation used in this book.

Part II, Tutorial, has chapters on Operating System Concepts and on the use of the KornShell language as a Command Language and a Programming Language. The Operating System Concepts chapter covers files, processes, strings and patterns that provides background information to help you understand the KornShell language. You do not have to understand everything in it to read the remaining chapters.

The Command Language chapter is intended as a guide through the language by giving step-by-step instructions for some of the typical uses of ksh. It is not intended to explain in detail all of the features of ksh, or all of the possible uses of the features that are discussed in this chapter. All of the features of the KornShell language are covered in detail elsewhere in this book.

The Programming Language chapter is intended as an introduction to the features of the KornShell that are used primarily for writing scripts or applications in the shell language.

Part II, Tutorial, also has a chapter on Customizing Your Environment, which describes how to set up your profile and environment files. It also suggests ways for optimizing the performance of shell scripts.

Part III, The Built-In Editors, is a detailed manual for the emacs and vi built-in line editors that are part of ksh. Each of these is a subset of the corresponding editor. A major benefit of using ksh is that you can use emacs or vi directives to edit your current command line, or to edit and reenter previous commands.

Part IV, Programming Language, is both a specification for the KornShell language and a detailed guide to using it. It contains chapters on Syntax, Command Processing, Compound Commands, Parameters, Built-in Commands, and Invocation and Environment. It also contains a chapter, Other Commands, which documents programs that are not part of ksh, but which are used in the examples in this book and may prove useful to many users. UNIX systems and many other systems have these programs.

Part V, Application Programming, has a chapter on Shell Functions and Programs, with several functions and programs written in the KornShell language. They are included primarily for illustrative purposes. However, you may find some of these functions and/or programs useful.

It also has the chapter, A Complete Application, with an example of how to use ksh as a high-level programming language, to program an application. The example that we use is a slightly modified version of the MH (Message Handling) system.

Part VI, Appendix, contains a Glossary. It also has a Quick Reference, with the formats, options, and page references for all ksh built-in, non-built-in, and editor commands, parameters, and other details.

The Portability chapter contains information to help you write portable scripts. There are sections listing features of ksh not in the Bourne Shell, features of ksh not in the System V Release 4 Shell, and features of ksh not in the POSIX shell. This chapter also lists ksh features that are in the POSIX shell but not in the System V Release 4 shell. In addition it discusses incompatibilities between ksh and the System V Release 4 Bourne Shell, and how ksh meets the POSIX requirements. A summary of all the new features in the 12/28/93 version of ksh, obsolescent features, and possible extensions to ksh are presented. Because of the large number of csh users migrating to ksh, we have included a section of helpful hints for making this task easier.

The Character Set chapter defines the character representation for ASCII encoding, and the character classes that each character belongs to in the C and POSIX locales.

There is also a detailed Index. The outside back cover has page references to all commands and parameters, and a brief summary of key emacs and vi directives.

Obtaining Examples in this Book in Electronic Form

The code for many of the examples in this book is available on the Internet via anonymous ftp to ftp.research.att. The programs are in the directory dist/ksh/examples.

Product Details

  • Paperback: 416 pages
  • Publisher: Prentice Hall; 2 edition (April 6, 1995)
  • Language: English
  • ISBN-10: 0131827006
  • ISBN-13: 978-0131827004
  • Product Dimensions: 9.3 x 7 x 0.7 inches
  • Shipping Weight: 1.4 pounds (View shipping rates and policies)
  • Average Customer Review: 4.4 out of 5 stars  See all reviews (14 customer reviews)
  • Amazon Best Sellers Rank: #766,842 in Books (See Top 100 in Books)

More About the Author

Discover books, learn about writers, read author blogs, and more.

 

Customer Reviews

14 Reviews
5 star:
 (8)
4 star:
 (4)
3 star:
 (1)
2 star:
 (1)
1 star:    (0)
 
 
 
 
 
Average Customer Review
4.4 out of 5 stars (14 customer reviews)
 
 
 
 
Share your thoughts with other customers:
Most Helpful Customer Reviews

5 of 5 people found the following review helpful:
4.0 out of 5 stars Pithy and informative, June 22, 2001
This review is from: New KornShell Command And Programming Language, The (2nd Edition) (Paperback)
I make my living writing Korn shell, and of all the books on Korn, this is the one I could least do without.

Pros: I've known people to buy this book simply for its back cover, as the index of topics on the back is enough to dig up information on the topics covered. The book is dense, not a tutorial really, more a reference text for ksh related topics. This is a book to be read on an as-needed basis, a cookbook for the "how do I get -this- to work!?" crowd.

Cons: I don't recommend it as anyone's first programming book. Even for the systems administrator, I'd recommend Nemeth et al. and Aeleen Frisch's books on administration as supplements for Unix related topics. There are essential things about shells and shell scripting (statically linked versus dynamically linked shells) that will never be learned in a shell programming book, that are critical to knowing when and where a shell language can be used.

Help other customers find the most helpful reviews 
Was this review helpful to you? Yes No


9 of 11 people found the following review helpful:
5.0 out of 5 stars Check it out. Review and Index of the Book., August 7, 2000
By 
Conrad B. Senior (Easton, CT United States) - See all my reviews
(REAL NAME)   
This review is from: New KornShell Command And Programming Language, The (2nd Edition) (Paperback)
.

This is a comprehensive, useful book detailing all aspect of the new Korn Shell. The Korn shell is not just a UNIX shell, but also a programming language that is powerful and well suited for a UNIX power user. If you are not computer or UNIX savy, you would be better off using the csh (C-SHELL).

Since, the Korn shell is powerful and hence, more complicated than typical UNIX shell programs. The need for a good book on the subject is mandatory for those who wish to master it.

It also contains a good tutorial and, my favorite, a quick reference guide on the back cover. The quick reference is a very useful item worth photocopying and pinning to the wall by your workstation. Each entry is keyed to the page with more detailed information on the command. It is fast and handy.

Anyone who reads this book will develop a better understanding of shells in general. The author explains many of the common shell tools such as piping and redirection.

This book is an excellent text for the subject. I strong recommend it for those who are presently Korn shell users or those who wish to master this shell. It includes everything you will ever need to know about the shell.

KORN Shell Index:

Part I: Introduction

1. About the KornShell Lanuage

2. Notation used in this book

Part II: Turorial

3. Operating System Concepts

4. Command Language

5. Programming Language

6. Customizing your environment

Part III: Built-In Editors

7. Introduction

8. emacs Built-In Editor

9. vi Built-In Editor

Part IV: Programming Language

10. Syntax

11. Command Processing

12. Compound Commands

13. Parameters

14. Built-In Commands

15. Other Commands

16. Invocation and Environment

Part V: Application Programming

17. Shell Funcitons and Programs

18. A Complete Application

Part VI : Apprendix

19 Glossary

20. Quick Refernce

21. Portability

22. Character Set

Index

Quick Index-Back Cover

Help other customers find the most helpful reviews 
Was this review helpful to you? Yes No


4 of 4 people found the following review helpful:
5.0 out of 5 stars Good info for more experienced ksh programmers., June 13, 1997
By A Customer
This review is from: New KornShell Command And Programming Language, The (2nd Edition) (Paperback)
While it may be a bit heavy for beginners, this book is full of good info for more experienced ksh users and programmers, especially if you want to use more of the built in features included with the 1993 release. Beginners might want to try out O'Reilly's Learning the Korn Shell, even though it only covers the 1988 version of ksh. This book is geared for folks who already have a bit of time working with ksh. Keeping that in mind, I think it's the best resource available for the shell available, especially considering Dr. Korn wrote the book.
Help other customers find the most helpful reviews 
Was this review helpful to you? Yes No

Share your thoughts with other customers: Create your own review
 
 
 
Most Recent Customer Reviews











Only search this product's reviews




Tags Customers Associate with This Product

 (What's this?)
Click on a tag to find related items, discussions, and people.
 
(2)
(1)

Your tags: Add your first tag
 

Sell a Digital Version of This Book in the Kindle Store

If you are a publisher or author and hold the digital rights to a book, you can sell a digital version of it in our Kindle Store. Learn more

Customer Discussions

This product's forum
Discussion Replies Latest Post
No discussions yet

Ask questions, Share opinions, Gain insight
Start a new discussion
Topic:
First post:
Prompts for sign-in
 


Active discussions in related forums
Search Customer Discussions
Search all Amazon discussions
   
Related forums



So You'd Like to...


Create a guide


Look for Similar Items by Category


Look for Similar Items by Subject