Language Selection

English French German Italian Portuguese Spanish

Book review: bash Cookbook

Filed under
Reviews

One of the reasons I love cookbooks, of all kinds, is because cookbooks have a clarity and simplicity of purpose. Whether it’s a cookbook for code geeks or for food geeks, its raison d’etre is the same: the “cook” has a job to do, and not a lot of time to do it. If a home chef wants to whip up a nice dinner for guests, he don’t want to have to understand the entire history of French cooking; he just wants a simple, well-written recipe for coq au vin. Similarly, if a sysadmin wants to receive an hourly email with a list of zombie processes on the new test server down the hall, she probably wants to hack together a quick bash script, and she doesn’t want to read the collected works of Grady Booch to do it.

Therefore, for me, the best benchmark of a code cookbook is how effectively I can go from the idea, “I need a script to do ‘foo’,” to having a script that does “foo” effectively. It was with this purpose in mind that I set O’Reilly’s new bash cookbook down next to me.

More Here




Sample chapter from the book

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

More in Tux Machines

digiKam Software Collection 4.6.0 released...

The digiKam Team is proud to announce the release of digiKam Software Collection 4.6.0. This release includes many bugs fixes in Image Editor and Batch Queue Mananger. Thanks to Maik Qualmann and Jan Wolter to propose patches in KDE bugzilla. See the new list of the issues closed in digiKam 4.6.0 available through the KDE Bugs-tracking System. Read more

What Does It Mean for Your Computer to Be Loyal?

We say that running free software on your computer means that its operation is under your control. Implicitly this presupposes that your computer will do what your programs tell it to do, and no more. In other words, that your computer will be loyal to you. In 1990 we took that for granted; nowadays, many computers are designed to be disloyal to their users. It has become necessary to spell out what it means for your computer to be a loyal platform that obeys your decisions, which you express by telling it to run certain programs. Read more