or
Sign in to turn on 1-Click ordering
More Buying Choices
Have one to sell? Sell yours here
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.
Sorry, this item is not available in
Image not available for
Color:
Image not available

To view this video download Flash Player

 

Wicked Cool Shell Scripts [Paperback]

Dave Taylor
4.2 out of 5 stars  See all reviews (39 customer reviews)

List Price: $29.95
Price: $19.96 & FREE Shipping on orders over $25. Details
You Save: $9.99 (33%)
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
Only 3 left in stock (more on the way).
Ships from and sold by Amazon.com. Gift-wrap available.
Want it Thursday, May 23? Choose One-Day Shipping at checkout. Details
Free Two-Day Shipping for College Students with Amazon Student

Shop the new tech.book(store)
New! Introducing the tech.book(store), a hub for Software Developers and Architects, Networking Administrators, TPMs, and other technology professionals to find highly-rated and highly-relevant career resources. Shop books on programming and big data, or read this week's blog posts by authors and thought-leaders in the tech industry. > Shop now

Book Description

January 15, 2004 1593270127 978-1593270124 1st

Fun and functional Linux, Mac OS X and UNIX shell scripts

The UNIX shell is the main scripting environment of every Linux, Mac OS X and UNIX system, whether a rescued laptop or a million-dollar mainframe. This cookbook of useful, customizable, and fun scripts gives you the tools to solve common Linux, Mac OS X and UNIX problems and personalize your computing environment. Among the more than 100 scripts included are an interactive calculator, a spell checker, a disk backup utility, a weather tracker, and a web logfile analysis tool. The book also teaches you how to write your own sophisticated shell scripts by explaining the syntax and techniques used to build each example scripts. Examples are written in Bourne Shell (sh) syntax.


Frequently Bought Together

Wicked Cool Shell Scripts + Wicked Cool Perl Scripts: Useful Perl Scripts That Solve Difficult Problems
Price for both: $43.77

Buy the selected items together


Editorial Reviews

Review

"A great resource for intermediate to experienced shell programmers." -- WebDevReviews

"Far above anything else available… This is the book that every other publisher tries to imitate." -- LinuxWorld, January 2005

"Good examples of what can be done, and how to go about it." -- Major Keary Book News, 2004 No. 9

"If you already know how to write rudimentary Unix scripts, here are some tools that'll really float your boat." -- Epinions.com

"a quite comprehensive explanation of shell scripting with plenty of really good and practical examples" -- Lehigh Valley Linux User Group, March 2004

"an excellent book which will extend your knowledge and provide more than a hundred ready-to-run scripts" -- MacBlog.com

"suggested reading for anyone who enjoys shell scripting or is responsible for administrating systems" -- ITworld.com, March 2004

A hands-on book. Not really a tutorial, but more of a cross-platform scripting cookbook. -- MacCompanion, August 2005,

About the Author

Dave Taylor has a Masters degree in Education, an MBA, and has written a dozen technical books, including Learning UNIX for Mac OS X (O'Reilly), Solaris for Dummies (Hungry Minds), and Teach Yourself UNIX in 24 Hours (SAMS). He was a contributor to BSD 4.4 UNIX, and his software is included in many major UNIX distributions.


Product Details

  • Paperback: 488 pages
  • Publisher: No Starch Press; 1st edition (January 15, 2004)
  • Language: English
  • ISBN-10: 1593270127
  • ISBN-13: 978-1593270124
  • Product Dimensions: 7.3 x 0.6 x 9.1 inches
  • Shipping Weight: 1.2 pounds (View shipping rates and policies)
  • Average Customer Review: 4.2 out of 5 stars  See all reviews (39 customer reviews)
  • Amazon Best Sellers Rank: #75,456 in Books (See Top 100 in Books)

More About the Authors

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

Customer Reviews

I would recommend this book to anyone who works with Unix systems. Some Guy  |  7 reviewers made a similar statement
This book is very well designed. Charles Profitt  |  9 reviewers made a similar statement
Most Helpful Customer Reviews
53 of 55 people found the following review helpful
4.0 out of 5 stars Surprised me March 2, 2004
Format:Paperback
I often take a dim view of books that use superlatives in their titles. I also don't think there is anything "wicked cool" about shell scripting in general: if you need anything complex at all, Perl or something else is probably a much better way to to it. Shell scripting gets awfully nasty awfully fast.

However, I was wrong. Yes, shell scripting is an abominable way to approach most of the tasks this book explores. Just the same, the author does it "wicked cool" and you can learn a lot both from how he sees the problem and the other Unix tools he uses as part of the script. So while you might shudder at the idea of writing a link-checker in Bash, the author's clever use of Lynx's "traverse" flag is something you might make use of elsewhere. You'll find useful things like that throughout the book, and even if you'd rather write it in Perl or whatever, the logic is worth examining.

Mac OS X users will appreciate that a whole chapter is devoted to that. There's nothing particularly deep there, nothing you will be surprised by, but it's nice to see Mac get specific mention. That brings up another important point: shells are different and Unixes are different. The author does pay a lot of attention to the differences that can cause problems for your scripts when they need to run on different platforms.

Was this review helpful to you?
12 of 12 people found the following review helpful
4.0 out of 5 stars Try Scripting Web Applications March 2, 2004
Format:Paperback
The book is aimed at all users and systems administrators of linux and every unix variant, including most importantly the MacOS. If you already know some scripting, you should be quite at ease here. Taylor does decide to restrict his discussion to the Bourne shell and its descendent, bash. He drops the C shell! But, as he points out, the scripts he gives can be easily rewritten in the latter if you desire.

The book can be roughly divided into two parts. The first is essentially traditional scripting tasks. A user from 1988 would see original material here, but no qualitative surprises.

The second half of the book is more interesting. It centres on Web applications. For example, when running a Web server that uses CGI, Perl and C are often the choice for implementing logic. But sometimes you can get by with a simpler approach - using a Bourne shell. Taylor shows how to do this to make simple web pages, with images, even. Cool! Though this outlook lacks the full expressive power of generating dynamic pages via Java Server Pages/Servlets, these latter alternatives can be quite forbidding to learn. If you are already comfortable with sed, awk, grep [etc], you may want to try this approach, provided your web site is not too complex.

In summary, the web scripting approach suggested here may be the most distinctive and useful sections. Worth checking out.

Comment | 
Was this review helpful to you?
14 of 17 people found the following review helpful
5.0 out of 5 stars Packed with practical information... January 16, 2005
Format:Paperback
Another one of my goals this year is to get familiar with Linux and shell scripting. I have some "how to" books, but I also picked up Dave Taylor's Wicked Cool Shell Scripts - 101 Scripts For Linux, Mac OS X, and UNIX Systems (No Starch Press). Taylor's done a great job with this book.

Chapter List: Introduction; The Missing Code Library; Improving on User Commands; Creating Utilities; Tweaking Unix; System Administration: Managing Users; System Administration: System Maintenance; Web and Internet Users; Webmaster Hacks; Web and Internet Administration; Internet Server Administration; Mac OS X Scripts; Shell Script Fun and Games; Afterword; Index

Taylor didn't write this book as a tutorial on script writing. Rather, he wanted to provide a "cookbook" of scripts that people could learn from and use immediately. He also wanted something more interesting than the scripts normally found in the how to books on the market. I'd agree that he's accomplished his purpose. Each script starts with a listing of the code and an explanation of how it works. He shows you how to run the script and what the results of running the script should be. Finally, there's a "hacking the script" paragraph that explains how you might want to modify the script to do something different. This entire package of paragraphs in each script serves as a sort of "mini-lesson" on some aspect of script writing.

As I mentioned above, I'm not quite ready for this book right now. When I pick up some fundamentals, I'll be heading into the Web and Internet Users section. There's code there on using Lynx and shell scripts to strip out information from websites. I have a project in mind I've wanted to do for some time, and I think I finally found the tools that will allow me to do it.

As a side note: LinuxWorld Magazine voted this book the Best Shell Script Programming Book of 2004. So I'm not the only one who thinks it's pretty good...

A well-written book packed with a ton of practical information. If you have a background in shell scripting and you want to stretch a little, this is the book for you...
Comment | 
Was this review helpful to you?
Most Recent Customer Reviews
3.0 out of 5 stars Where was the proof reader?
Some of the reviews of this booki makes me wonder if the reviewer has even read the book.

I've only got as far as page 20 and have found several errors in the scripts so... Read more
Published 1 month ago by roninsa
5.0 out of 5 stars Truly a Fun project-based Cookbook
As noted in the title, this book is a really fun read and has some great ideas on using shell scripting to do some pretty neat things. Read more
Published 10 months ago by L. Adriel Torres
4.0 out of 5 stars One of the best bash books I've read
After being through a big pile of programming books (including bash books) which are overwhelmingly abstract and give few concrete examples, this book gives concrete examples of... Read more
Published 18 months ago by Jesse Obrien
3.0 out of 5 stars Good for beginners, too low of a level for experienced folks
Almost all the previous comments are so positive ... I almost hate to be a sour-puss.

The book could absolutely be very good for a person who is somewhat new to shell... Read more
Published on February 7, 2011 by mrpete
5.0 out of 5 stars excellent shell book, must have for the linux/unix geek
Still reading it, still loving it.
Of course I love everything I have read from nostarch press.
Published on May 3, 2010 by Keith Crowder
5.0 out of 5 stars Lots of examples
If you are looking for a reference book don't buy this. If you want a book with a huge amount of well written examples and scripts stop right here. Read more
Published on September 13, 2009 by Howard J. Anstedt
4.0 out of 5 stars An enlightening collection of shell scripts
I have a confession to make. This book has been sitting patiently on my shelf for several years now waiting for a review. Read more
Published on August 24, 2009 by Daniel Hanks
4.0 out of 5 stars Very useful to beginner and experience shell script hackers
Today I received a copy of Wicked Cool Shell Scripts (101 scripts for Linux, Mac OS X, and Unix Systems) by Dave Taylor. Read more
Published on March 29, 2009 by Charles Profitt
4.0 out of 5 stars 4 and 1/2 Stars..........
This is a really fun and engaging book on the subject of shell scripting. For new users, in tandem with more of a 'fundamentals' book on scripting, this book will give you really... Read more
Published on February 23, 2009 by damek
4.0 out of 5 stars Good, yes. Wicked cool, maybe not.
This is a great book for learning by example, particularly as a follow-on to something more geared toward complete beginners to get you started. Read more
Published on December 19, 2006 by Chad Perrin
Search Customer Reviews
Only search this product's reviews

What Other Items Do Customers Buy After Viewing This Item?


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

Forums

There are no discussions about this product yet.
Be the first to discuss this product with the community.
Start a new discussion
Topic:
First post:
Prompts for sign-in
 



So You'd Like to...


Create a guide


Look for Similar Items by Category