Learning the Korn Shell (2nd Edition)

  Author:    Arnold Robbins, Bill Rosenblatt
  ISBN:    0596001959
  Sales Rank:    108423
  Published:    2002-04-01
  Publisher:    O'Reilly
  # Pages:    432
  Binding:    Paperback
  Avg. Rating:    4.0 based on 35 reviews
  Used Offers:    15 from $19.32
  Amazon Price:    $23.07
  (Data above last updated:  2008-11-18 08:40:51 EST)
  
  
Sort customer reviews by:
  
Show All Reviews on Page      Hide All Reviews on Page
   
  
Learning the Korn Shell (2nd Edition)
  
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.
                  Reader Reviews 1 - 15 of 15                 
  
  
Review
Date
Review
Rating(5 High)
Review
Helpful
to:
Customer Review Reviewer
Info
Permanent
Link
Reader Reviews Below Sorted by Newest First
07-24-08 4 (NA)
(Hide Review...)  Learning the Korn Shell (2nd Edition)
Reviewer Permalink
This book is excellent for beginner-intermediate users. I did not have any experience with Unix scripts prior to this book, after finishing it I came away with a very good understanding of the Korn Shell.

Book is well written and covers the basics: command line editing, setting up your environment, up to process handling and debugging. One flaw of the book is that there is not enough examples. Also many of the examples later on in the book are built based on examples from previous chapters. While that is good for a learning exercise it does not give you a direct, simple example you may require.

Overall I would definitely recommend this book, I still use this as a reference at work.
(Review Data Last Updated: 2008-11-19 05:48:04 EST)
07-13-07 5 (NA)
(Hide Review...)  Good Book, Worth Buying
Reviewer Permalink
I bought this book a few days ago for use at work. Previously, I didn't have much of a need for interacting with a Unix shell outside of cd and ls.

This book reads easy, and the author(s) seem genuinely interested in the subject - not the usual dry textbook point of view. Topics are explained well, with small examples to show how it actually works. I would suggest having access to a Unix machine with the Korn shell, as you can experiment with the commands a bit on your own.

BTW, I didn't realize that the Unix machine I work on has the 1988 version of the Korn shell instead of the 93 version (the book covers 93), but most of the book is still relevant. They also cover what has changed in the 2 versions.
(Review Data Last Updated: 2008-07-27 05:30:23 EST)
01-28-07 5 2\2
(Hide Review...)  Learning the Korn Shell (2nd Edition)
Reviewer Permalink
I once was blind. Spending decades in the UNIX world I spent time with several shells. Down through the years I visited many shells and even bought a book on the Korn Shell by the designer David Korn. I sort of got complacent (know-it-all).

Now obtaining a position supporting AIX I once again find that the prefer supported shell is the Korn shell; even sh is linked to ksh93. Several times I came across unexplainable anomalies; sometime paths would be absolute and at other times they would follow links. Traps seemed to work a tad different and other outcomes seemed to be hit or miss.

The purchase of this book has been a real eye opener. What seemed to be arbitrary was in reality lack of personal knowledge of the latest version of the korn shell.

I could not believe that a book by David Korn of AT&T did not even mention signals.

Some of the highlights of the book are:
Job control
Functions
Command history
Command-line editing
Integrated programming features
Control structures
Debugging primitives
Regular expressions
Advanced I/O features
New options and variables
Increased speed
Security features
Major features
Security features
POSIX compliance
Arithmetic for loops
Floating-point arithmetic
Structured variable names
Indirect variable references
Associative arrays
Additional text manipulation facilities
More built-in commands
(Review Data Last Updated: 2007-07-13 21:13:05 EST)
12-02-05 5 3\3
(Hide Review...)  Excellent
Reviewer Permalink
This book is just great. It has a lot of examples and every concept is well explained. Even for those who are not used to programming, this is a great book to start shell scripting.
The authors relate concepts (commands usage, for example) with those of bash and other shells, which is very helpful if you already know how to program with csh, Bourne, etc.
So... if you're looking for a GOOD book about ksh, buy this one!!
(Review Data Last Updated: 2007-07-05 16:33:34 EST)
11-22-05 5 0\2
(Hide Review...)  Very Helpful Reference to KSH
Reviewer Permalink
I found this book very helpful in learning to write scripts for the Korn Shell. I keep it on my desk all the time now, even for other shells (Bash/etc). It's an invaluable reference to me.
(Review Data Last Updated: 2007-07-05 16:33:34 EST)
11-21-05 5 0\2
(Hide Review...)  Very Helpful Reference to KSH
Reviewer Permalink
I found this book very helpful in learning to write scripts for the Korn Shell. I keep it on my desk all the time now, even for other shells (Bash/etc). It's an invaluable reference to me.
(Review Data Last Updated: 2006-07-06 11:32:49 EST)
11-30-04 5 6\6
(Hide Review...)  A must if you use KSH
Reviewer Permalink
While not as popular (at least in Linux circles) as bash, ksh is a powerful language/tool. Put bluntly, this is one of the few O'Reilly books I have read cover to cover. That isn't to say that the others don't warrant a thorough perusal, but that this book was readily accessible and provided excellent information. I have used it as a reference countless times over the years and do not hesitate to recommend it to anyone using or considering using ksh. Moreover, if you are considering using ksh - or perhaps need a better background in Unix shell scripting - read this book.
(Review Data Last Updated: 2007-07-05 16:33:34 EST)
10-23-04 5 4\4
(Hide Review...)  Straight to the top!
Reviewer Permalink
When I started my current position, I had little to no experience in scripting. After reading this book I have become the top scripter on our team. Now when tasks need to be automated, I've become the go-to-guy (not always good but at least it is a form of recognition). I have recommened this book to new memebers of my team. In fact, I think someone has my copy now. Hummm... who was it?
(Review Data Last Updated: 2007-07-05 16:33:34 EST)
10-22-04 5 3\3
(Hide Review...)  Straight to the top!
Reviewer Permalink
When I started my current position, I had little to no experience in scripting. After reading this book I have become the top scripter on our team. Now when tasks need to be automated, I've become the go-to-guy (not always good but at least it is a form of recognition). I have recommened this book to new memebers of my team. In fact, I think someone has my copy now. Hummm... who was it?
(Review Data Last Updated: 2006-07-06 11:32:49 EST)
10-21-04 5 6\6
(Hide Review...)  The Second Book of UNIX(r)
Reviewer Permalink
If your job requires you to perform some tasks in UNIX but you know very little beyond the level a beginner's guide gave you (e.g. cd and ls) then Learning the Korn Shell will let you build on those basics to the point where you'll be able to program shell scripts.

You'll start with a quick explanation of what a shell is (i.e. it's a user interface, not the OS itself) then useful key strokes (avoid CTRL-D) and how Korn parses the command line. The book then explains how you can set up your environment and then moves into basic shell scripting. By the end of the book, you'll be able to read and edit the scripts along with your more experienced colleagues.

Highly recommended.
(Review Data Last Updated: 2007-07-05 16:33:34 EST)
04-14-03 3 1\8
(Hide Review...)  Learning the Korn Shell
Reviewer Permalink
I found the book not usefull at all. Simple things on how to write a loop is so full of text without addressing the simple issue of how to write a simple while loop with a counter. I found the examples sparse and irrelevant to what i was doing.
(Review Data Last Updated: 2006-07-06 11:32:49 EST)
12-03-01 5 8\10
(Hide Review...)  A great book about Korn shell programming
Reviewer Permalink
I gave it 5 stars partially because it was given just 1 star unjustly by a few reviewers. From a number of complaining reviews, one realizes that the book title is little misleading. It's not a book for a true beginner wanting to read about "simple" examples of shell programs and looking for detailed explanations line by line. This book is concise, to the point, and really explains "Korn" shell's features. Even as early as chapter 4 about Korn shell basics, things are explained that a long-time shell programmers may not know. If you do and have done serious, real world Korn shell programming, you'll appreciate it.

There were also complains about hard to find things in the book. But from my experience, it's not the case if one really reads it from cover to cover and unerstands the topics presented chapter by chapter. I agree that the book may not be a great reference book, but it was not written as one.

(Review Data Last Updated: 2006-07-06 11:32:49 EST)
07-24-01 4 2\3
(Hide Review...)  Excellent beginner book
Reviewer Permalink
If you are new to the Korn Shell then this is a great buy. Start here to learn Flow Control, Regular Expressions, I/O and command-line processing, background job referencing, and debugging. This text also covers basic emacs and Vi operations as well as ways to customize your environment in UNIX.

I picked this book up as a supplement to learning UNIX. The index proved helpful when I was learning a new command or searching for a solution to my problem. I like the book because it is easier to use than trying to scour the web for solutions. This book will at least narrow the task and help you know what to look for on the web.

(Review Data Last Updated: 2006-07-06 11:32:49 EST)
05-08-01 5 3\3
(Hide Review...)  Concise, Informative, Easy to Read
Reviewer Permalink
An excellent book for beginning to intermediate UNIX/ksh users. Clear. To the point. Easy to read. Few "forward references" -- those that exist are clearly explained; i.e., "X is because of Y, which is discussed in Chapter N." No superfluous diagrams or typographic fluff.
(Review Data Last Updated: 2006-07-06 11:32:49 EST)
03-30-01 5 10\11
(Hide Review...)  An excellent book for the beginner - advanced ksh programmer
Reviewer Permalink
This is a great book for someone new to ksh programmer. It should be treated as a work manual and not as a reference book. Read this book through from cover to cover and you'll soon be writing ksh scripts with ease.

The book takes you though Korn shell basics from answer what a shell is to using files, I/O, and character quoting.

From there it goes into command line editing, customizing your environment, and into basic programming. Once through that you learn flow control, arrays, advanced I/O, and process handling.

Finally you learn how to debug the script you just wrote.

As a reference manual this book is average. It's not meant to be a typical "nutshell" book and shouldn't be treated as one.

The bottom line? Buy this book if you are truly interested in learning how to program in the Korn shell.

(Review Data Last Updated: 2006-07-06 11:32:49 EST)
  
                  Reader Reviews 1 - 15 of 15                 
  
  
  
  
  
  

Because the data used to generate this site come from outside sources, VeryWellSaid.com cannot guarantee the completeness or accuracy of the data.
Search VeryWellSaid™
Google
Web VeryWellSaid™
New subjects are added every week.
View Subjects Below by:
* Top Selling
 (click category name, left)
* Top-Rated Top Sellers
 (click 'Top Rated', right)
In the news...  
Dubai\UAE Top Rated
Influenza\Bird Flu Top Rated
Iraq Top Rated
Supreme Court Top Rated
All Books Top Rated
Arts Top Rated
Photography Top Rated
Digital Photography Top Rated
Digital Cameras Top Rated
Biography Top Rated
Business Top Rated
Management Top Rated
Marketing Top Rated
Sales Top Rated
Stocks Top Rated
Bonds Top Rated
Real Estate Top Rated
Trading Top Rated
Commodities Trading Top Rated
Time Management Top Rated
Starting A Business Top Rated
Children's Top Rated
Comics Top Rated
Computers Top Rated
PC Top Rated
Mac Top Rated
Programming Top Rated
Design Patterns Top Rated
.Net Top Rated
C# Top Rated
Vb.Net Top Rated
Asp.Net Top Rated
Java Top Rated
Python Top Rated
PHP Top Rated
Perl Top Rated
Javascript Top Rated
Ajax Top Rated
CSS Top Rated
Open Source Top Rated
SQL Top Rated
Databases Top Rated
Oracle Top Rated
MySql Top Rated
Sql Server Top Rated
IIS Top Rated
Apache Top Rated
Linux Top Rated
Windows Server Top Rated
Project Management Top Rated
HTML Top Rated
UML Top Rated
IT Certifications Top Rated
Cisco Certifications Top Rated
MCSE Top Rated
MCSD Top Rated
Cooking Top Rated
Italian Cooking Top Rated
Vegetarian Cooking Top Rated
Wine Top Rated
Engineering Top Rated
Entertainment Top Rated
Health Top Rated
Nutrition Top Rated
Dieting Top Rated
Sex Top Rated
History Top Rated
Military History Top Rated
British History Top Rated
Middle East History Top Rated
Land Battles Top Rated
Naval Warfare Top Rated
Air Warfare Top Rated
9/11 Top Rated
Terrorism Top Rated
Home Top Rated
Mortgage\Home Equity Loan Top Rated
Cars Top Rated
Car Buying Top Rated
Sports Cars Top Rated
Cat Top Rated
Humor Top Rated
Horror Top Rated
Law Top Rated
IP Law Top Rated
Legal History Top Rated
Fiction Top Rated
Oprah's Book Club Top Rated
Medicine Top Rated
Cancer Top Rated
Stroke Top Rated
Heart Disease Top Rated
Fertility Top Rated
Diabetes Top Rated
Pharmacology Top Rated
Back Problems Top Rated
Menopause Top Rated
Thyroid Top Rated
Pain Top Rated
Organic Chemistry Top Rated
Immune System Top Rated
Mystery Top Rated
Nonfiction Top Rated
Outdoors Top Rated
Running Top Rated
Radio Control Models Top Rated
Guns Top Rated
Parenting Top Rated
Divorce Top Rated
Professional Top Rated
Reference Top Rated
Religion Top Rated
Romance Top Rated
Science Top Rated
Physics Top Rated
Chemistry Top Rated
Astronomy Top Rated
Psychology Top Rated
Science Fiction Top Rated
Sports Top Rated
Teens Top Rated
Travel Top Rated
USA Top Rated
Europe Top Rated
France Top Rated
Italy Top Rated
England Top Rated
China Top Rated
All Books Arts Biography Click Here For An A-Z Index Of All 213 Best-Seller Subjects Business Children's Comics
Computers Cooking Engineering Entertainment Health History Home Horror Humor Law Fiction Medicine Mystery
Nonfiction Outdoors Parenting Professional Reference Religion Romance Science Sci-Fi Sports Teens Travel
In Association with Amazon.com

Cache miss
(not cached)