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

Turris MOX is a Modular & Open Source Router

A company from the Czech Republic is trying to raise money to bring a modular and open source router to the public. It has a number of features that can’t be found in the current line up of routers available for purchase. Read more

Openwashing: Intel, Apple, and Microsoft

  • The Several Faces of Intel Compilers [Ed: It says that this so-called 'article' is "sponsored", so IDG is now running ads as 'articles'. Not even pretense about whether it's journalism or not.]
  • FoundationDB Goes Open Source [Ed: "FoundationDB gave Apple a foothold in the crowded NoSQL database sector," it says and this is what this openwashing is all about. It's helping Apple in spreading its proprietary frameworks and surveillance 'clouds'.]
  • Linux Everywhere (Premium) [Ed: "Linux Everywhere," says longtime Microsoft propagandist, in service (IMHO) of the latest EEE strategy. Don't forget who's still in charge.]

Android Leftovers

An introduction to the GNU Core Utilities

These two collections of Linux utilities, the GNU Core Utilities and util-linux, together provide the basic utilities required to administer a Linux system. As I researched this article, I found several interesting utilities I never knew about. Many of these commands are seldom needed, but when you need them, they are indispensable. Between these two collections, there are over 200 Linux utilities. While Linux has many more commands, these are the ones needed to manage the basic functions of a typical Linux host. Read more