Sunday, December 26, 2004

Unix Shells By Example, by Ellie Quigley

If want to learn about shells and you learn by example, like I do, this book is essential.

The first 6 chapters (nearly 200 pages) goes over the basics of all shells; what they are, what they do, what programs are most used to manipulate data in them. There are whole chapters devoted to grep, sed and awk, and the author doesn't skimp on details. You will be a virtual grep/sed/awk guru by the time you learn everything in these chapters.

Chapters 7-15 introduce and get you into scripting of each major shell: Bourne shell, C and TC Shells, Korn shell, and Bash (bash is the standard shell in most linux distributions). It then spends a chapter on general debugging shell scripting problems.

The last chapters touch upon system administrating via the shell (rather than using gui tools). Again taught by example so it's very clear to the reader.

I learned more about bash (my shell of choice) from this guide than any other that I've read, and not for lack of trying, I've read several bash guides. I was happy to see that examples given were explained line-by-line so you don't lose track of what is happening in each example. I was delighted by the useful appendices covering useful commands and giving side by side shell comparisons.

This is my favorite shell book to date.

Spam Kings By Brian McWilliams

The first thing that struck me about this book is that it takes years of emails, newsgroups, and chat sessions and turns it into a story. To a long-time internet addict such as myself, seeing such a thing is rather surreal. But it's something I should get used to, as the world of the web is interacting more and more with the "real world" as this book clearly shows.

Back to the point. I had sometimes idly wondered about spammers. Who they are, how successful they could really be. This book explores that by telling the story of a few major and minor spammers, as well as the anti-spammers that work so hard to defend normal people from their aggressive advertising tactics. I'd known about MAPS, RBL, Samhaus, and Spews, but I never knew much about the specifics of how and why they were created until I read this -- this book even explores how they operate!

Best of all, this is a story about spam. All true, not dull (often dramatic!), and very informative. I suspect this is just one person's perspective of the spam world, and the people mentioned in the book are just a portion of the spammers and spam fighters working everyday (no doubt some were miffed by not being included). But the book is effective in educating people like myself in the spam underground. It also makes me more informed when I hear new news about spammers being prosecuted or new spam laws being enacted.

The only problem with this book is an unavoidable one. Because the spam wars are ongoing, the story is never over. I can see a "Spam Kings 2" being released in 5 years to catch up on what's happened. To keep folloing the spammers and spam fighters in their battles.

The Book of IRC, by Alex Charalabidis

I am an IRC junkie, so when I saw this book I just had to pick it up.

This book was written in 1999, and it shows. There are outdated server lists and statistics. The attacks described are mostly outdated (who "nukes" "jupes" and "floods" these days? This is only interesting from a historical perspective). The IRC clients described are now of outdated versions, and some of the now popular clients (xchat, irssi) aren't mentioned. The book claims to have a companion website with updates, which I was excited to see, but the site's domain (bookofirc.com) seems to have expired and been snatched up by an unrelated website.

All that aside, IRC is a pretty basic protocol, and most things about it haven't changed a whole lot, so this book is quite useful. It can walk someone new to IRC through the basics, describing what everything in the IRC world is, as well as providing experts with some interesting tidbits. The whole chapters on DCC and CTCP were especially informative to me. Appendix B "Terminology" was great for providing some of the "language" one might encounter in channels with tech/irc-saavy occupants.

The book even touches upon "IRC Netiquette" when it comes to what is acceptable or not behavior-wise in IRC (I think a whole chapter should have been devoted to this, this seems to be a major stumbling block to new IRCers). The fun way in which the author presents this book makes it very amusing to read, not at all like normal techical books (this is something I enjoy about all No Starch Press books).

In summary, this is a very informative book, even for someone like me who has been using IRC for over 6 years, and now run my own server. But it needs a second edition and/or the companion website revived.