Home page
My Books

Shell Scripting Recipes is a collection of more than 200 scripts and functions. They run the gamut from file manipulation to downloading mail, from statistical calculations to databases.

Some scripts in this book are taken from the hundreds I've written since 1990, while others were written specifically for this book. I selected them not only to demonstrate the breadth of problems that can be solved with shell scripts, but also to illustrate as many scripting techniques as possible.

I hope this book will help you solve the many problems illustrated by these scripts, and also encourage and help you to write your own.

Table of Contents

1 The POSIX Shell and Command-Line Utilities
2 Playing with Files: Viewing, Manipulating, and Editing Text Files
3 String Briefs
4 What's in a Word?
5 Scripting by Numbers
6 Loose Names Sink Scripts: Bringing Sanity to Filenames
7 Treading a Righteous PATH
8 The Dating Game <( Sample )
9 Good Housekeeping: Monitoring and Tidying Up File Systems
10 POP Goes the E-Mail
11 PostScript: More Than an Afterthought
12 Screen Manipulation:
13 Backing Up the Drive
14 Aging, archiving and deleting files
15 Covering All Your Databases
16 Home on the Web
17 Taking Care of Business
18 Random Acts of Scripting
19 A Smorgasbord of Scripts
20 Script development management

Detailed Table of Contents


ssr-scripts.tar.gz

Reviews

Blane Warrene :
For some time I have considered myself quite adept on the command line. That was until Chris Johnson’s Shell Scripting Recipes (Apress) landed on my desk.
Duffbert :
Johnson has written a book that is perfect for the person who has studied the basics and now wants to start applying their knowledge.
Tony Lawrence
Chris writes shell scripts where I would automatically use Perl because of the complexity.