or
Sign in to turn on 1-Click ordering.
 
 
Express Checkout with PayPhrase
What's this? | Create PayPhrase
More Buying Choices
36 used & new from $9.87

Have one to sell? Sell yours here
 
   
KornShell Programming Tutorial
 
See larger image
 
Tell the Publisher!
I’d like to read this book on Kindle

Don’t have a Kindle? Get your Kindle here.
 
  

KornShell Programming Tutorial (Paperback)

~ (Author)
4.8 out of 5 stars  See all reviews (36 customer reviews)

List Price: $49.99
Price: $33.86 & this item ships for FREE with Super Saver Shipping. Details
You Save: $16.13 (32%)
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.

Want it delivered Tuesday, November 17? Choose One-Day Shipping at checkout. Details
11 new from $22.33 25 used from $9.87

Frequently Bought Together

KornShell Programming Tutorial + Learning the Korn Shell (2nd Edition) + Classic Shell Scripting
Price For All Three: $80.00

Show availability and shipping details

  • This item: KornShell Programming Tutorial by Barry J. Rosenberg

    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) by Bill Rosenblatt

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

  • Classic Shell Scripting by Nelson H. F. Beebe

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


Customers Who Bought This Item Also Bought

sed & awk (2nd Edition)

sed & awk (2nd Edition)

by Tim O'Reilly
4.3 out of 5 stars (40)  $23.07
Mastering Unix Shell Scripting: Bash, Bourne, and Korn Shell Scripting for Programmers, System Administrators, and UNIX Gurus

Mastering Unix Shell Scripting: Bash, Bourne, and Korn Shell Scripting for Programmers, System Administrators, and UNIX Gurus

by Randal K. Michael
4.4 out of 5 stars (20)  $44.71
Classic Shell Scripting

Classic Shell Scripting

by Nelson H. F. Beebe
4.6 out of 5 stars (10)  $23.07
New KornShell Command And Programming Language, The (2nd Edition)

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

by Morris I. Bolsky
4.4 out of 5 stars (13)  $43.77
Learning the vi Editor (6th Edition)

Learning the vi Editor (6th Edition)

by Arnold Robbins
4.7 out of 5 stars (43)  $21.86
Explore similar items

Editorial Reviews

Product Description

A tutorial designed for anyone needing to create simple Kornshell scripts--system administrators, programmers at various levels and UNIX users. Rosenberg has given us a book that is 85% examples-oriented. This unique format allows readers to learn Kornshell Script programming in the shortest amount of time.


From the Inside Flap

Research indicates that virtually no one actually reads prefaces in computer books. In fact, this preface could be about the Loch Ness Monster for all most readers care.

But why don't people read prefaces? Is it because prefaces sometimes get too personal? ("..and I want to thank Sal, who made this book possible.") Is it because the sentiments of nerdy authors can be a bit repulsive? ("..Sal, my MicroVAX, was always there when I needed her.") Is it because they are predictably self-deprecatory in an ironic way? ("..and I want to thank: list of 250 noted experts goes here for reviewing drafts of this manual. Naturally all mistakes are my own.") No, when it comes right down to it, people avoid prefaces because they're boring.

It is also de rigueur for the nerdish author to explain, folksinger style, why he or she decided to write this piece. I guess this book sort of came to me while I was camping out in the glorious Rocky Mountains. I was gazing at pristine waterfalls and awe-inspiring sunsets when I said to myself, "This land must be preserved. I shall write a KornShell book." Possessed by a demonic ecological fervor, I roared down that mountain in a snowmobile, fired up a 1200 watt workstation, and wrote it all down for you. I only ask that you use the power of the KornShell for good, rather than evil.

Actually, I've been writing programming manuals for many years under the pen name "Apollo Computer Inc." Recently, my agent insisted that I change it to "Hewlett-Packard Company," presumably because it sounded less ethnic. Through the years, I've been lucky enough to get lots of feedback from my readers. What do you think they ask for? More text? No. More syntax? Definitely not. When it comes right down to it, readers consistently ask for only one thing: more examples.

So, I listened to them and based this tutorial entirely on examples.

I feel that short, focused examples are more valuable than long, detailed examples, and I've written the book accordingly. The purpose of the book is not to make me look clever; it is to make you look clever. Nevertheless, I've sprinkled a few lengthy examples into the mix for those of you who enjoy that sort of thing.

When I was a mere lad my family doctor pointed to a massive encyclopedia of pharmaceuticals and told me that he could treat 90% of all patients with only six different medicines. Similarly, although the KornShell is a very rich language, my goal is to focus on the common script ailments and to leave the beriberi treatment to specialists.

Beginners may be wondering, " Is this book too hard for me?" No, probably not. Programmers experienced in various languages, though not in the KornShell, are probably wondering, "Is this book too wimpy for me?" No, probably not. To help guide both kinds of readers through the book, I've marked certain sections as being more appropriate for one group or the other. Beginners don't need an explanation of traps and experienced programmers already know what loops are.

Here's how I've organized the book:

Chapter 1 introduces the KornShell and its features.
Chapter 2 contains some simple KornShell scripts to get you started.
Chapter 3 discusses data types.
Chapter 4 shows you how to do simple math.
Chapter 5 illustrates pattern matching.
Chapter 6 explains how to evaluate conditions.
Chapter 7 shows you how to set up loops.
Chapter 8 describes how to create simple menus.
Chapter 9 explains how to evaluate command line arguments.
Chapter 10 illustrates functions.
Chapter 11 has a lot of conceptual stuff in it about environments and inheritance. It also contains some sample start-up scripts.
Chapter 12 examines input and output.
Chapter 13 focuses on string manipulation.
Chapter 14 describes the many variables that are part of the KornShell.
Chapter 15 describes various advanced features of the KornShell. (This chapter is aimed at the sophisticated programmer.)
Chapter 16 contains a half-dozen lengthy KornShell examples.
Chapter 17 explains command line editing and the history file.

Appendix contains a syntactic quick reference. This appendix will become more valuable to you as your KornShell experience increase.

Since the KornShell runs on all sorts of operating systems, I've tried to keep operating system dependencies to a bare minimum. Nevertheless, my sense is that the majority of KornShell users are either working under the UNIX operating system or are at least marginally familiar with it. Therefore, in the examples that do contain commands, I've picked UNIX commands.

It is now time for the obligatory not to the tools that made this book possible. I used the \fBtroff\fR.mm macro package to format drafts of this book (an experience akin to running blindfold through nettles) and then came to my senses and converted the whole thing to Interleaf TPS. //cascade, my trusty Apollo DN4000 workstation, was always there when I needed her. It practically goes without saying that I created camera-ready copy for the book on a Hewlett-Packard laser printer.

My three primary reviewers were KornShell gurus David Korn, Steve Sommars, and Glenn Fowler, all of whom gave fantastic and diplomatic criticism.

I also received important criticism and help from Tom Barstow, Dave Beckedorf, Bart Hanlon, Warren Johnson, Ed Johnston, Mark Keil, Mike Kong, Alice Lynch, Dave Penfield, Will Roaf, Frank Rubinsky, John Weiss, Daryl Winters, Teri Witham, and other people whose names I have no doubt forgotten to list. Eric Eldred and Quentin Sullivan found so many bugs in early drafts that, and I mean this as a compliment, they should have a brand of insecticide named after them.

Judy Tarutz is my long-suffering editor. In person, Judy is a kind, gentle soul with an outrageous sense of humor. Give her a red pen though, and she turns into Conan the Barbarian. Her savage red pen cut a bloody swath through early drafts of this book. If we should chance to meet up one day, dear reader, I'll tell you all the "weak" jokes she made me take out.

I'd also like to thank the members of the Academy.

A consortium of great minds-those minds owned and operated by Ted Ricks, John Wait, Jack Danahy, and Steve Spicer-led me to the KornShell and helped me define the material for this book.

Finally, I'd like to thank the person who really made this book possible: my wife and best friend, Marilyn.

Whoops, almost forgot. Naturally, all mistakes are my own.

020156324XP04062001


Product Details

  • Paperback: 352 pages
  • Publisher: Addison-Wesley Professional (July 11, 1991)
  • Language: English
  • ISBN-10: 020156324X
  • ISBN-13: 978-0201563245
  • Product Dimensions: 9.2 x 7.2 x 1 inches
  • Shipping Weight: 1.2 pounds (View shipping rates and policies)
  • Average Customer Review: 4.8 out of 5 stars  See all reviews (36 customer reviews)
  • Amazon.com Sales Rank: #477,375 in Books (See Bestsellers in Books)

    Popular in this category: (What's this?)

    #30 in  Books > Computers & Internet > Operating Systems > Unix > Shell

More About the Authors

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

What Do Customers Ultimately Buy After Viewing This Item?


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 Reviews

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

 
17 of 17 people found the following review helpful:
5.0 out of 5 stars Impressed a tough critic!, June 14, 1999
By A Customer
The KornShell Programming Tutorial should be the model for all technical books. It is well organized and extremely well written. The book provides a ton of examples, and output is provided for each one--what a concept! Reading this book has enabled me to write support and debugging scripts for the program I currently work on, and if I need to refer to the book, I can find the topic quickly. The writing style is crystal-clear and right-to-the-point, and the humorous touches round out everything nicely. Thanks to Barry Rosenberg for caring enough to write a book on Korn Shell programming that a novice could actually read, understand, and apply.
Comment Comment | Permalink | Was this review helpful to you? Yes No (Report this)



 
11 of 11 people found the following review helpful:
5.0 out of 5 stars The authority for Kornshell, October 25, 2000
By T. Parsons (Providence, RI) - See all my reviews
(REAL NAME)   
This is the best book I have seen on shell programming. I tried three other books before I found this one. This book is great because it offers examples, shows the output from the examples, and also describes them extremely well.

The other books I tried, and did not like are :

The Korn Shell: User & Programming Manual - I didn't like it because it lacked information on string handling. It seemed alright though.

Unix Shells by Example - Too many examples, if there is such a thing. The author didn't describe what was going on as well as this book does. The layout is confusing too.

Unix Shell programmer's interactive workbook - You need to be sitting at a computer to use this one. Wasn't very effective while reading it on the train.

Comment Comment | Permalink | Was this review helpful to you? Yes No (Report this)



 
10 of 10 people found the following review helpful:
5.0 out of 5 stars Amazon Customers are Smart IT People, March 24, 2001
By A Customer
I was looking for a book on introductory Korn shell programming and I came to Amazon to find one. I have several O'Reilly books and I naturally went to find a book from them but when I read the reviews I was disappointed. The reviewers said the O'Reilly book was poorly written etc and several said they were expecting a book like Barry Rosenberg's. I naturally went to find Barry's book and all the reviewers loved his book. I said 'ok what do I know' and I followed their advice and bought the book. I took it to work and showed it one of our senior Unix admins and he flipped it through it and was amazed. He was in the middle of writing some monitoring programs and he said the book covered some material on number substitution he was not able to find in any of the books on Korn Shell programming that he had. He was very impressed with the book and yep you guessed it he borrowed the book. Since he has taught me a lot of what I know about Unix I couldn't say no. So now when I need a book on a technical subject I am interested in I read the reviews and order it. The advice alone is worth the shipping. I am tired of buying books that gloss over the subject and give newbies nothing to build on except a few buzz words. This book is not one of those.
Comment Comment | Permalink | Was this review helpful to you? Yes No (Report this)


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

5.0 out of 5 stars Brilliant, clear, complete, marvellous !!!!!!!
This book was published 17 years ago (from the time of writing this comment).
At the beginning I was a bit reluctant about buying this book and I was thinking maybe the... Read more
Published 8 months ago by D.A.

5.0 out of 5 stars Great book for older Korn Shell versions
This books covers pre 93 Korn shell.

However this actually makes learning the shell more simple. Read more
Published 13 months ago by Robert Jeffrey

5.0 out of 5 stars best!!!!!!!
I am programming with korn shell for 12 yr. already. And I started with this book. It is an excellent book for beginner and even intermediate programmer. Read more
Published 16 months ago by Gene Golub

5.0 out of 5 stars Brilliant
This book is *the* way to begin working with the Korn shell. I needed to get up to speed with a shell scripting language in order to do Oracle DBA tasks. Read more
Published 19 months ago by Jack Reid

5.0 out of 5 stars Excellent Tutorial
I found this to be an excellent hands-on tutorial in KornShell. Wish there were a book-2 and book-3 with advanced training.
Published 20 months ago by Kevin R. Connolly

4.0 out of 5 stars Good for beginners
I love the Korn shell. This book is a fine intro to Korn Shell programming. For users who want more than just an intro, you may want to consider "Korn Shell: Essential Programs... Read more
Published on November 16, 2006 by Computer_Geek

5.0 out of 5 stars Excellant book....
Before start reading this book, I had little or no exprience. But after reading first few chapters, I just started with good confident.

Thanks to Barry
Published on August 23, 2006 by Keyurkumar D. Patel

3.0 out of 5 stars An OK book in a very poorly covered field
I generally agree with the reviewer who expressed amazement at the almost universal acclaim for this book. Read more
Published on September 6, 2003 by tjunker

5.0 out of 5 stars A quickstart for shell programming beginners
This book is amazing. In less than five minutes I was able to do some practical operations with the knowledge contained in this book. Read more
Published on August 5, 2003 by Pedro G Jimenez

5.0 out of 5 stars Practical!
No theory, no stories, the author lets you work hands on in Korn shell. The book is organized in a way that you do NOT have to read the whole book to use Korn Shell. Read more
Published on May 21, 2003 by Razzle

Only search this product's reviews



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
 

Search Customer Discussions
Search all Amazon discussions
   




Product Information from the Amapedia Community

Beta (What's this?)


Look for Similar Items by Category


Look for Similar Items by Subject

 

Feedback

If you need help or have a question for Customer Service, contact us.
 Would you like to update product info or give feedback on images?
Is there any other feedback you would like to provide?

Your comments can help make our site better for everyone.


Your Recent History

 (What's this?)

After viewing product detail pages or search results, look here to find an easy way to navigate back to pages you are interested in.