Classic Shell Scripting

Classic Shell Scripting
by Arnold Robbins, Nelson H.F. Beebe

Classic Shell Scripting
List Price: $39.99
Our Price: $20.55
You Save: $19.44 (49%)
Availability: Usually ships in 1-2 business days
Buy Used: from $19.50 (click here)
Category: Book
See more book details and other editions


(Click here)
Buy this book at online book store in your country
Canada | UK | Germany | France

Book Summary Information

Author: Arnold Robbins, Nelson H.F. Beebe
Edition: Paperback
Audio: English (Unknown); English (Original Language); English (Published)
Published: 2005-02-01
ISBN: 0596005954
Number of pages: 560
Publisher: O'Reilly Media

Book Reviews of Classic Shell Scripting

Book Review: A good intro on Unix shell scripting and the problems it solves
Summary: 5 Stars

The purpose of this handy little book is to help someone who is working with Unix through the labyrinth of tools available and learn how and when to use them. It is important to note what is mentioned in the preface - "Throughout this book, we use the term Unix to mean not only commercial variants of the original Unix system, such as Solaris, Mac OS X, and HP-UX, but also the freely available workalike systems, such as GNU/Linux and the various BSD systems: BSD/OS, NetBSD, FreeBSD, and OpenBSD." I quote the book because the word "Unix" is about as descriptive as the word "car". The intended audience is anyone who is computer literate, already knows how to program, and is regularly faced with diverse problems in the workplace that must be solved with Unix tools. This book should give you a taste of which tool to turn to and when.

This book can be divided basically into two halves. The first half is a tutorial on writing Unix scripts. The book starts with a brief history of the Unix language and the philosophy behind Unix tools. Slowly, each chapter builds up your skill at script writing. You are shown how to differentiate between shells, how to work with text extensively, how to use loops, pipelines, variables, and decision statements, and how to work with files. There are detailed example scripts at every step along the way. By the end of chapter seven, you should know enough about basic shell scripting to be dangerous.

Starting in chapter 8, you are showed more application-related information. First, Chapter 8 shows and discusses some ready-made scripts for some tasks for which there is no out-of-the-box Unix solution. Some of the handy solutions shown are for path searching and automating software builds. Chapter 9 is a crash course on awk, and is aptly named. It is just enough to be dangerous. You learn how to solve common text processing problems with awk, but you'll need more resources to be really knowledgable. Chapter 10 explains the usage of common commands for listing files, modifying their timestamps, creating temporary files, finding files in a directory hierarchy, applying commands to a list of files, determining the amount of filesystem space used, and comparing files. Next there are two applied chapters showing you how to merge several databases and how to perform spellchecking by using scripting. Chapter 13 changes the subject a bit and talks about the concept of processes in Unix and how you can use their statistics to accomplish a number of monitoring and control tasks. Chapter 14 talks about problems you may run into if you try to take advantage of shell-language extensions, while Chapter 15 addresses the issue of writing secure scripts to the extent it is possible to do so. Writing man pages, and the basics of the Unix filesystem are the subjects of the last two chapters of the book.

I would say it is a good modern introduction to the subject of shell scripting and Unix tools and how to use them. It doesn't dive deeply into any particular topic, but it will get you started by broadly introducing you to the problems most Unix script writers and system admins face regularly and how to get started solving those problems. I highly recommend it for that purpose.

Summary of Classic Shell Scripting

Shell scripting skills never go out of style. It's the shell that unlocks the real potential of Unix. Shell scripting is essential for Unix users and system administrators-a way to quickly harness and customize the full power of any Unix system. With shell scripts, you can combine the fundamental Unix text and file processing commands to crunch data and automate repetitive tasks. But beneath this simple promise lies a treacherous ocean of variations in Unix commands and standards. Classic Shell Scripting is written to help you reliably navigate these tricky waters.

Writing shell scripts requires more than just a knowledge of the shell language, it also requires familiarity with the individual Unix programs: why each one is there, how to use them by themselves, and in combination with the other programs. The authors are intimately familiar with the tips and tricks that can be used to create excellent scripts, as well as the traps that can make your best effort a bad shell script. With Classic Shell Scripting you'll avoid hours of wasted effort. You'll learn not only write useful shell scripts, but how to do it properly and portably.

The ability to program and customize the shell quickly, reliably, and portably to get the best out of any individual system is an important skill for anyone operating and maintaining Unix or Linux systems. Classic Shell Scripting gives you everything you need to master these essential skills.

Linux Books

Book Subjects
Most talked about in Linux Books
Linux TCP/IP Network Administration ImageLinux TCP/ IP Network Administration
by Scott Mann
Prentice Hall; Published: 2001-07-26; Paperback; Book
Best price: $8.99
Price in other shops: $54.99
Linux and Windows: A Guide to Interoperability ImageLinux and Windows: A Guide to Interoperability
by Ed Bradford, Lou Mauget
Pearson Education; Published: 2001-12-14; Paperback; Book
Best price: $10.25
Price in other shops: $44.99
Integrating Linux and Windows ImageIntegrating Linux and Windows
by Mike McCune
Prentice Hall PTR; Published: 2000-12-19; Paperback; Book
Best price: $26.93
Price in other shops: $39.99
Real World Linux Security: Intrusion Prevention, Detection and Recovery (Open Source Technology) ImageReal World Linux Security: Intrusion Prevention, Detection and Recovery (Open Source Technology)
by Bob Toxen
Prentice Hall PTR; Published: 2000-11-30; Paperback; Book
Best price: $3.99
Price in other shops: $44.99
The UNIX and Windows 2000 Handbook: Planning, Integration and Administration ImageThe UNIX and Windows 2000 Handbook: Planning, Integration and Administration
by Lonnie Harvel, David Webb, Steven Flynn, Todd Whitehurst
Prentice Hall; Published: 2000-05-14; Paperback; Book
Best price: $4.45
Price in other shops: $64.00
Linux Desk Reference (Open Source Technology Series) ImageLinux Desk Reference (Open Source Technology Series)
by Scott Hawkins
Prentice Hall; Published: 1999-11-30; Paperback; Book
Best price: $1.97
Price in other shops: $29.99
Linux User's Guide : Using the Command Line and Gnome With Red Hat Linux 9.0 - Textbook Only ImageLinux User's Guide : Using the Command Line and Gnome With Red Hat Linux 9.0 - Textbook Only
by Carolyn Gillay
Franklin Beedle & Associates; Published: 2004; Paperback; Book
Linux: The Textbook ImageLinux: The Textbook
by Syed Mansoor Sarwar, Robert Koretsky, Syed Aqeel Sarwar
Addison Wesley; Published: 2001-07-12; Paperback; Book
Best price: $100.44
Price in other shops: $117.00
UNIX to Linux® Porting: A Comprehensive Reference ImageUNIX to Linux® Porting: A Comprehensive Reference
by Alfredo Mendoza, Chakarat Skawratananond, Artis Walker
Prentice Hall; Published: 2006-04-22; Paperback; Book
Best price: $41.20
Price in other shops: $69.99
RHCE Red Hat Certified Engineer Linux (Exam RH302) ImageRHCE Red Hat Certified Engineer Linux (Exam RH302)
by Michael Jang
McGraw-Hill Osborne Media; Published: 2004-03-30; Paperback; Book
Best price: $23.29
Price in other shops: $59.99
Similar Books and other products
UNIX and Linux System Administration Handbook (4th Edition) ImageUNIX and Linux System Administration Handbook (4th Edition)
by Evi Nemeth, Garth Snyder, Trent R. Hein, Ben Whaley
Prentice Hall; Published: 2010-07-24; Paperback; Book
Best price: $40.43
Price in other shops: $59.99
bash Pocket Reference (Pocket Reference (O'Reilly)) Imagebash Pocket Reference (Pocket Reference (O'Reilly))
by Arnold Robbins
O'Reilly Media; Published: 2010-05-17; Paperback; Book
Best price: $5.47
Price in other shops: $9.99
Learning Perl ImageLearning Perl
by Randal L. Schwartz, brian d foy, Tom Phoenix
O'Reilly Media; Published: 2011-07-01; Paperback; Book
Best price: $22.24
Price in other shops: $39.99
Learning the vi and Vim Editors ImageLearning the vi and Vim Editors
by Arnold Robbins, Elbert Hannah, Linda Lamb
O'Reilly Media; Published: 2008-07-22; Paperback; Book
Best price: $19.79
Price in other shops: $34.99
Grep Pocket Reference (Pocket Reference (O'Reilly)) ImageGrep Pocket Reference (Pocket Reference (O'Reilly))
by John Bambenek, Agnieszka Klus
O'Reilly Media; Published: 2009-01-30; Paperback; Book
Best price: $7.33
Price in other shops: $12.99
Mastering Regular Expressions ImageMastering Regular Expressions
by Jeffrey E.F. Friedl
O'Reilly Media; Published: 2006-08-15; Paperback; Book
Best price: $24.88
Price in other shops: $44.99
Unix in a Nutshell, Fourth Edition ImageUnix in a Nutshell, Fourth Edition
by Arnold Robbins
O'Reilly Media; Published: 2005-11-02; Paperback; Book
Best price: $16.99
Price in other shops: $34.95
sed & awk (2nd Edition) Imagesed & awk (2nd Edition)
by Dale Dougherty, Arnold Robbins
O'Reilly Media; Published: 1997-03-08; Paperback; Book
Best price: $17.55
Price in other shops: $39.99
Bash Cookbook: Solutions and Examples for Bash Users (Cookbooks (O'Reilly)) ImageBash Cookbook: Solutions and Examples for Bash Users (Cookbooks (O'Reilly))
by Carl Albing, JP Vossen, Cameron Newham
O'Reilly Media; Published: 2007-05-31; Paperback; Book
Best price: $28.26
Price in other shops: $49.99
Learning the bash Shell: Unix Shell Programming (In a Nutshell (O'Reilly)) ImageLearning the bash Shell: Unix Shell Programming (In a Nutshell (O'Reilly))
by Cameron Newham
O'Reilly Media; Published: 2005-04-05; Paperback; Book
Best price: $19.47
Price in other shops: $34.95
Book store. Illustrated catalog of books on different categories