Unix Shells by Example

Monday, June 28, 2010

Author Ellie Quigley ISBN 0-13-147572-X

Published by Prentice Hall

Priced in Australia at $87.99 (June 2010)

No matter which shell you run and how ever long you’ve been using it, you’ll probably pick up a trick or two from this book.

Now in it’s 4th edition, this book is stuffed with real world examples of all the useful GNU/Linux shell tools. It focuses on awk, sed, grep and their many variations. It builds from simple examples with extensive use of regular expressions.

Although running to over 1,000 pages, the first 450 are where I found the real meat. The remainder is a comparison of the different shells and their many quirks

As far as I can see, you can approach this book in one of two ways. Firstly as a student, set aside a few quiet Sundays and go through the examples one by one, some of it may feel like repetition, but progressively you’ll get the picture and it will be well ingrained in your brain. Secondly as a reference. I use the bash shell, but I often find useful scripts created on csh or heaven’s forbid zsh. So the trick is knowing what’s different and what needs changing. To this end Unix Shells By Example is very handy to have on the shelf.