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

Have one to sell? Sell yours here
 
   
Classic Shell Scripting
 
 
Tell the Publisher!
I’d like to read this book on Kindle

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

Classic Shell Scripting (Paperback)

~ (Author), (Author)
Key Phrases: jim meyering, jones devel, cmd subst, Sun Solaris, Bell Labs, Leo Tolstoy (more...)
4.5 out of 5 stars  See all reviews (11 customer reviews)

List Price: $34.95
Price: $23.07 & eligible for FREE Super Saver Shipping on orders over $25. Details
You Save: $11.88 (34%)
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 Thursday, February 11? Choose One-Day Shipping at checkout. Details
36 new from $19.00 13 used from $12.45
Like this book? Find similar titles from O'Reilly and Partners in our O'Reilly Bookstore.

Frequently Bought Together

Classic Shell Scripting + sed & awk (2nd Edition) + Learning the bash Shell: Unix Shell Programming (In a Nutshell (O'Reilly))
Price For All Three: $69.21

Show availability and shipping details

  • This item: 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

  • sed & awk (2nd Edition) by Tim O'Reilly

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

  • Learning the bash Shell: Unix Shell Programming (In a Nutshell (O'Reilly)) by Cameron Hewham

    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


Editorial Reviews

Product Description

Shell scripting skills never go out of style. It's the shell that unlocks the real potential of Unix. Shell scripting is essential for Unix users and system administrators-a way to quickly harness and customize the full power of any Unix system. With shell scripts, you can combine the fundamental Unix text and file processing commands to crunch data and automate repetitive tasks. But beneath this simple promise lies a treacherous ocean of variations in Unix commands and standards. Classic Shell Scripting is written to help you reliably navigate these tricky waters.

Writing shell scripts requires more than just a knowledge of the shell language, it also requires familiarity with the individual Unix programs: why each one is there, how to use them by themselves, and in combination with the other programs. The authors are intimately familiar with the tips and tricks that can be used to create excellent scripts, as well as the traps that can make your best effort a bad shell script. With Classic Shell Scripting you'll avoid hours of wasted effort. You'll learn not only write useful shell scripts, but how to do it properly and portably.

The ability to program and customize the shell quickly, reliably, and portably to get the best out of any individual system is an important skill for anyone operating and maintaining Unix or Linux systems. Classic Shell Scripting gives you everything you need to master these essential skills.

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

Product Details

  • Paperback: 560 pages
  • Publisher: O'Reilly Media; 1st edition (May 1, 2005)
  • Language: English
  • ISBN-10: 0596005954
  • ISBN-13: 978-0596005955
  • Product Dimensions: 9.1 x 7 x 1.2 inches
  • Shipping Weight: 1.7 pounds (View shipping rates and policies)
  • Average Customer Review: 4.5 out of 5 stars  See all reviews (11 customer reviews)
  • Amazon.com Sales Rank: #17,439 in Books (See Bestsellers in Books)

    Popular in these categories: (What's this?)

    #1 in  Books > Computers & Internet > Operating Systems > Unix > Shell
    #3 in  Books > Computers & Internet > Software > Business > Utilities
    #8 in  Books > Computers & Internet > Operating Systems > Linux

More About the Authors

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

Inside This Book (learn more)



Books on Related Topics (learn 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.
 
(12)

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

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

 
57 of 57 people found the following review helpful:
4.0 out of 5 stars Book Review: Classic Shell Scripting, September 9, 2005
By Dan Clough (Florida, USA) - See all my reviews
Classic Shell Scripting
Hidden Commands that Unlock the Power of Unix
By Arnold Robbins, Nelson H.F. Beebe
First Edition May 2005
ISBN: 0-596-00595-4
558 pages, $34.95
[...]

I found this to be quite a useful book for learning more about Unix/Linux shell scripting. I would consider this one to be an intermediate level text, and complete beginners might be better served by a more simplified book. There are quite a bit of in-depth details included, and many very nice examples and code snippets. Like all O'Reilly books, it is well organized and formatted, and clearly written.

The book opens with a brief history of Unix and how important the shell (and scripting) is to it. There are some comparisons with other programming languages, and why it is sometimes preferable to use a script versus a compiled program. The very basics of how scripts are written and used are also mentioned here, and beginners may want to refer to an additional book for more of the basic instructions.

The next few chapters cover mostly text processing with scripts, including searching, sorting, printing, extracting, and counting methods. Good examples are used, including the use of regular expressions and pipes to increase the power of your scripts. Following this, there are several chapters on more advanced scripting, including how to use variables, loops, functions, standard I/O, redirection, wildcards, using "awk", and working with external files. Extensive example code is provided throughout.

The remaining chapters of the book get into more advanced subjects such as database manipulation, process control, and increasing the security of scripts. Portability and shells other than bash are also discussed.

Perhaps the most interesting part of the book (for me) were the Appendices and other sections at the end. Appendix A is entitled "Writing Manual Pages", and is extremely informative on how to produce and format a valid man page. This is a much more complicated process than I had previously known (can you say "groff"?), and is quite interesting. For anyone who has ever complained about a poor man page, this will give you all the tools you need to write an improved version! :) Appendix B has some excellent in-depth discussion about Unix files and filesystems, including attributes and permissions. Appendix C is a summary of important Unix commands for shell scripting, categorized by function, which is a good quick reference list. Following this, there is an excellent Bibliography that recommends related books for further reading. Finally, there is good Glossary and an Index.

Overall, I found the book to be excellent in it's content and quality. I would recommend that a beginner also find a companion book to more gently introduce the fundamentals of shells and scripting, but this volume is excellent for the intermediate to advanced user. If you want to fully use the power of the Unix/Linux shell, this is a "must-have" book! Well done to the authors and O'Reilly Publishing.
Help other customers find the most helpful reviews  
Was this review helpful to you? Yes No


 
32 of 32 people found the following review helpful:
5.0 out of 5 stars Practical and useful, September 19, 2005
By Randy Giedrycz (Ivyland, PA USA) - See all my reviews
Great book. The emphasis is nicely split between actually using the shell itself and the whole supporting cast of unix tools (sed, awk, cut, join, sort etc.) The idea of carefully crafting solutions using the unix toolbox mindset is key. I also like the fact he doesn't try to teach to multiple shells, but first tries to emphasize portability by sticking mainly to a POSIX standard, and only later adds info about non standard shell topics. If I could only have one book on shell scripting, this would be it. The best description is 'Practical'.
Help other customers find the most helpful reviews  
Was this review helpful to you? Yes No


 
67 of 73 people found the following review helpful:
5.0 out of 5 stars This might be a great second book on shell scripting., June 4, 2005
This might be a great second book on shell scripting. Can serve as a valuable add on to "Learning Korn shell" from O'Reilly -- also a very strong book on shell scripting.

The authors provide a lot of interesting and useful information that is difficult to find in other books. They devoted Ch 5 to piping and in 5.4 "Word List" they discuss famous Doug McIlroy alternative solution to Donald Knuth program of creating the list of the n most-frequent words, with counts of their frequency of occurrence, sorted by descending count from an arbitrary text file.

The authors discuss many Unix tools that are used with shell (Unix toolbox). They provide a very good (but too brief) discussion of grep and find. Discussion of xargs (which is usually a sign on a good book on scripting) includes /dev/null trick, but unfortunately they do not mention an option -0n with which this trick makes the most sense.

One of the best chapters of the book is Ch. 13 devoted to process control. Also good is Chapter 11 that provides a solution to pretty complex and practically important for many system administrators task of merging passwd files in Unix. It provides a perfect insight into solving real sysadmins problems using AWK and shell.
Shortcomings are few. in "5.2. Structured Data for the Web" the authors should probably use AWK instead of SED. Also XML processing generally requires using a lexical analyzer, not regular expressions. Therefore a tag list example would be better converted to something simpler, for example generating C-tags for vi.
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

4.0 out of 5 stars Nuts and Bolts of Shell Scripting
This book tackles the concept of writing UNIX scripts not by telling you how to
write 'canned scripts,' but rather explains the various commands you will use to
create... Read more
Published 1 month ago by Todd Hawley

5.0 out of 5 stars Excellent book to learn the basics
I've scrolled through lots of books, there is so much information out there, but this book has a tendency to keep it simple and to the point. Read more
Published on March 12, 2007 by M. Casco

5.0 out of 5 stars A good intro on Unix shell scripting and the problems it solves
The purpose of this handy little book is to help someone who is working with Unix through the labyrinth of tools available and learn how and when to use them. Read more
Published on February 16, 2007 by calvinnme

4.0 out of 5 stars Nice overview of Bourne/sh scripting
This book provides a nice overview of the Bourne/sh shell's commands. I wish there were more examples with complete scripts. Read more
Published on November 16, 2006 by Computer_Geek

4.0 out of 5 stars Okay
I would say this is a pretty good book that covers it's subject very well, buti didn't use it much because i had also bought Unix in a Nutshell, Fourth Edition, which covered the... Read more
Published on March 11, 2006 by Ronnie T. Johnston

4.0 out of 5 stars Carl's review
Although I have just started reading through the book, what I see so far is interesting. I'm looking forward to writing my own scripts. Read more
Published on August 2, 2005 by Carl Goodson

5.0 out of 5 stars Invaluable resource for shell scripters
This is the book that I have been waiting for years for. It's classic O'Reilly, but it's better than that. Read more
Published on June 20, 2005 by Jack D. Herrington

5.0 out of 5 stars A really fine book
I found this book to be useful, accurate, well-written and
well-organized. The code examples are lucid and clear.

I've written a longer review for (... Read more
Published on June 6, 2005 by P. Salus

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
 


Active discussions in related forums
Discussion Replies Latest Post
C# or Java? 66 17 days ago
Search Customer Discussions
Search all Amazon discussions
   



So You'd Like to...


Create a guide

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.