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

Raspberry Pi Devices Spread in Schools, Help Teach Programming

According to a new DigiTimes report, sales of credit-card sized Raspberry Pi devices, which run Linux, remain very strong. The Raspberry Pi Foundation says that 3.5 million units have sold worldwide, with demand from China and Taiwan staying strong. The devices are helping to teach children basic programming skills and are arriving in educational systems all around the world. Read more

These Are the Biggest Android Tablets That Money Can Buy

How big do you like your tablet? If you're designing a kid-friendly device that can be used as an easel, learning resource and game platform, the answer is probably: roughly Monopoly-board big. No, 10 or even 12 inches isn't going to do it for you. You're going to want a device with a 20- or 24-inch display, like nabi's new Big Tab tablets, made by Fuhu. The Big Tabs are the biggest Android slates we've ever seen for sale (although there have been demos of significantly bigger models). Read more

GNOME's Window and Compositing Manager Mutter 3.14 Beta 1 Gets More Wayland Improvements

Florian Müllner has announced that Mutter 3.14 Beta 1 has been released, featuring a number of changes and improvements. According to the changelog, Xsync is now called once per frame, GLSL is now being used by Mutter, gestures and touch events on Wayland are now being handled properly, support has been added for the un-minimize compositor effects, the frame background has been set to None, and backend methods have been added to handle keymaps. Read more

AMD's Catalyst Linux Driver Preparing For A World Without An X Server?

AMD's proprietary Catalyst Linux driver installer is interestingly being prepared for an environment without an X.Org Server. While there's no announcement out of AMD indicating any future support directions for their Catalyst Linux driver, it seems their Catalyst driver will soon be equipped with an option for building the driver packages without X.Org Server support, a.k.a. no building of the fglrx DDX driver. Read more