by No Starch Press
| Average Rating: |
|
| Sales Rank: | 68597 (lower is better) |
| Price as of: | 08/23/2008 5:10:16 AM MDT |
| Price Used: | $5.76 |
| Shipping: | Free Shipping on most orders over $25* |
| Availability: | Usually ships in 24 hours |
| Label: | No Starch Press |
| UPC: | 689145701272 |
| Pages: | 488 |
| Binding: | Paperback |
| Publication Date: | 2004-01-15 |
| Published By: | No Starch Press |
| ASIN: | 1593270127 |
| Category: | Book |
Authors
Editorial Reviews and Product Descriptions
Product Description
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.
Customer Reviews
Good, yes. Wicked cool, maybe not. - Reviewed on 2006-12-20
1 customer found this review helpful.
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. It provides a number of useful scripts (even though some of them duplicate functionality of common system utilities), with explanations of how and why they work, and even notes on how you might alter the code to suit your own purposes. If you're a relatively new programmer or system administrator that already has the basics of shell scripting in mind, but find yourself at loose ends wondering what to do next to help cement what you know and start learning more, this book may be exactly what you need. It's also useful for figuring out some of the basic principles of translating code to or from some other programming language, thanks to the code explanations.
The scripts themselves, however, are not exactly what I would call "wicked cool". The title is an obvious marketing conceit, designed to make the book seem more enticing. Most of the scripts, in fact, are surprisingly mundane -- but that doesn't mean they aren't useful. You may actually find yourself using some of them, with minor alterations, in your day-to-day life. Just don't expect to be wowed by the scripts themselves.
If you've read my review of Wicked Cool Perl Scripts, you may note that this is an almost word-for-word duplication. That was intentional: the books are very similar in quality, format, and usefulness, right down to the "wicked coolness" (or not) of the scripts.
geeks only - Reviewed on 2006-08-12
11 customers found this review helpful.
Taylor does some neat stuff with shell scripts, but he doesn't spend much time explaining what goes on in them. Each is accompanied by a terse paragraph explaining "how it works", which generally only addresses one particular aspect of the script (ie, POSIX-style "variable slicing"). Shell syntax is terse and many of the reserved keywords and functions are not self-evident. If you don't know, for example, what "${#remainder}" returns, Taylor won't help you; you will have to look it up in a tutorial or a reference work elsewhere.
According to the blurb on the back of the book, Taylor has an MA in education, but there is little evidence of his didactic skills in this text. On the face of it, he is more a geek than a teacher, and hence this book more useful to his fellow hackers than people new to Bash.
Lots of unnecessary material, and what's good is already available out there - Reviewed on 2006-03-03
14 customers found this review helpful, 2 did not.
WICKED COOL SHELL SCRIPTS is a collection of pre-made bash scripts for various tasks similar to one of O'Reilly's "cookbooks". All scripts here use bash--the author rejects csh because of Tom Christiansen's classic essay "Csh Programming Considered Harmful" and the Korn shell because he considers it fine for interactive use but not so good for scripting.
The basic format of each entry is first the problem--what the user wants to do--then the code, followed sometimes by an explanation and advice on hacking the code. The book is not really an introduction to Bash scripting. If you want a systematic primer I'd recommend O'Reilly's LEARNING THE BASH SHELL or any of a dozen libre tutorials.
Some of the scripts are useful and solve problems I've occasionally faced. For example, the GNU units program can't do temperature conversions, but a script is given here which uses bc to provide a solution. Quite elegant is a script with which the user can find the time anywhere in the world by querying in a friendly manner the system's zoneinfo files. In spite of some neat gimmicks, however, I don't think I can really recommend the book unless you're someone about to take a voyage on the south seas and won't have Internet access. Many of these scripts can be found on the Web, and far too many scripts here solve problems already long solved by available programs. The author describes a secure version of locate, when slocate is already easily installable on most *nix systems. A script for rotating log files is done when metalog and other common log programs do this automatically. Take out all these unnecessary scripts, and the amount of useful content in the book turns out to be very low indeed.
* - See Amazon
Product Page for shipping and pricing details.
Book Subjects
- Unix, Unix Linux & Unix TCL/TK
- Unix (Operating System)
- Computers
- Computers - Operating Systems
- Computer Books: Languages
- Operating Systems - UNIX
- Computers / Operating Systems / Linux
- Computers / Operating Systems / Macintosh
- Computers / Operating Systems / UNIX
- UNIX (Computer file)
- UNIX Shells