Wicked Cool Shell Scripts

February 9, 2005, 01:49 PM —  ITworld.com Voices — 

James Gaskin spoke with Dave Taylor about his new book, Wicked Cool Shell Scripts. Following is an edited transcript of that conversation, or listen to it here.

Welcome to ITworld of Voices. My name is James Gaskin and I'll be your host for this series of interviews with the leading technology book authors of today. Our guest in this session is Dave Taylor. Dave has contributed to a variety of Unix and Internet projects starting in 1980, before there was technically an Internet. He wrote Elm, the first screen-oriented email application, and has also foisted 16 books upon us, covering various technology and business projects and subjects. He was actually born in London and got to the United States as soon as possible. Two of the books you may have heard of from Dave are Teach Yourself Unix in 24 Hours and Creating Cool Web Pages With HTML. Our book subject today is Wicked Cool Shell Scripts. It came out in mid 2004, published by No Starch Press. It won, among other things the LinuxWorld Magazine's award for Best Scripting Book Ever. Dave, thanks for taking some time for us today.

Dave Taylor: I'm glad to be involved James.

James Gaskin: Thank you. First question, why would anybody write a book about shells?

Taylor: Ah, well, that's a good question. Because as you might realize, there are plenty of books that cover shell scripts. And shell scripts are basically small little portable applications that you write within the command line interpreter on Unix or Linux machines, or in fact, Mac OS X machines too. And there are plenty of them out there, but when I looked at them all, I kept having this niggling unhappiness that they were all terribly boring and that it was a very interesting topic that no one had ever really addressed in an interesting fashion, and that they were much more about here's an if statement. Here's how you use an if statement. Let's have an example three-line snippet that has an if statement in it. Terribly dry. I looked at that and I said, there has got to be a better way, and so I wrote Wicked Cool Shell Scripts, which has 101 -- actually probably about 160 -- different scripts that cover much more than you could ever imagine you could do with a shell script. All the way from a hangman game to CGI scripts you can plug into your server to a wide variety of tools that can help you administer your Unix or Linux machine, to even ways that you can work with the iTunes library on a Macintosh.

Gaskin: Interesting. Now, desktop Linux has certainly become more popular. Linux has done very well in the server room. But most people are scared of the command line. So what advice could you give them?

Taylor: Well, the first thing I would say is to go and crack open a book like, if I may say so, Teach Yourself Unix in 24

I like it!
Post a comment
The content of this field is kept private and will not be shown publicly.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Lines and paragraphs break automatically.
Free books

Build your tech library with our book giveaways.

Windows PowerShell 2.0 Unleashed
By Tyson Kopczynski, Pete Handley, Marco Shaw; Published by Sams

Windows PowerShell Unleashed will not only give you deep mastery over PowerShell but also a greater understanding of the features being introduced in PowerShell 2.0–and show you how to use it to solve your challenges in your production environment. Enter now!

 

Ubuntu Server Administration
By Michael Jang; Published by McGraw-Hill Osborne Media

Realize a dynamic, stable, and secure Ubuntu Server environment with expert guidance, tips, and techniques from a Linux professional. Ubuntu Server Administration covers every facet of system management -- from users and file systems to performance tuning and troubleshooting. Enter now!

Featured Sponsor

AISO founders envisioned a Web hosting company that was environmentally friendly. While the company employed energy-efficient innovations like solar panels, its infrastructure produced unacceptable power and cooling requirements. Find out how AISO leveraged AMD technology to overcome their challenge in this case study white paper.

In this whitepaper, Scalar explores the opportunity to change the landscape with respect to mission critical databases built around Oracle. Leveraging technologies such as Linux, high-end commodity processing power and Oracle RAC technology to architect, design, build and maintain database infrastructure that delivers maximum availability, reliability and performance at a fraction of traditional cost.

On a typical day, weather.com, the Web site for The Weather Channel in Atlanta, serves up between 15 million and 20 million page views. But in September 2004, when back-to-back hurricanes ransacked Florida, the peak traffic on one day more than tripled: over 70 million page views by more than 7 million unique visitors. Read the full success story now.

More Resources