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

Square tries to make open source “welcoming and inspiring” to women

What is open source? Simply put, it is source code (used to develop software programs) that is freely available and modifiable on the Internet. Open source developers from all over the world contribute to various projects, which are hosted on various websites—GitHub, a popular code hosting site, has over 8 million users and over 19 million code “repositories.” Read more

Citizens call on Dortmund to use free software

Four citizens of the German city of Dortmund have started a citizens’ initiative, asking the city council to seriously consider the use of free and open source software. “The city needs to recognise free software as a topic in the public interest”, the DO-FOSS initiators write. Read more

NVIDIA Tegra DRM Driver Supports Atomic Mode-Setting In Linux 3.20

The latest work landing in the DRM-Next code-base for the Linux 3.20 kernel merge window is the Tegra DRM driver updates. The Tegra DRM driver is primarily designed to support the Tegra 4 and older SoCs while the Tegra K1 and newer is supported by the Nouveau DRM driver due to the graphics core now being common with their mainline desktop architecture. The Tegra K1's GK20A graphics core is derived directly from Kepler while the brand new Tegra X1 is derived from Maxwell. Regardless, the Tegra DRM driver continues to be actively developed by NVIDIA stakeholders. Read more

LibreOffice 4.4 the beautiful

We are very close to release LibreOffice 4.4 and I thought I’d share my thoughts on the work that has been put into this new branch and what the general idea is about it. LibreOffice 4.4 is unusual; as a major release you may expect some important underlying change in its architecture, or the inclusion of a set of major features. The 4.4 does include several important features and improvements, most notably for Impress and the much forgotten HTML editor (the comprehensive release notes may be found here). But the most important details are not to be found in this area. If you want to understand where the 4.4 branch is headed, I think it is useful to keep two fundamental trends in mind. Read more