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

Kodi 15 Brings XBMC Media Player to Android

The XBMC Foundation's Team Kodi last week released version 15 of its popular, open source Kodi media player and home theater framework. The "Isengard" release of Kodi (formerly XBMC) offers enhancements ranging from new chapter support to an improved add-on manager, but the biggest news is the completion of the Android version. Read more

Systemd Is Launching Its Own Conference

Lennart Poettering today announced systemd.conf 2015, its inaugural conference devoted to the future of systemd. Read more

Opinion Poll (latest update)
systemd usage I use systemd and like it: 787 (30%) I use systemd and dislike it: 318 (12%) I am not using systemd and plan to use it: 111 (4%) I am not using systemd and plan to avoid it: 1170 (44%) Other: 260 (10%)

Linux 4.2 May Finish Fixing Up Radeon Audio Support

Since the Linux 4.0 kernel there has been DisplayPort audio support for the open-source Radeon driver. That DP audio handling came after a big rework to the audio code in the Radeon DRM kernel driver. A half-year later it looks like all the audio code is now cleaned up and ready. Read more Also: Radeon Gallium3D Tackles A Bit More, OpenGL 4.1 Patches Pending NVIDIA 352.30 GPU Driver For Linux Has Been Released

LibreOffice 5.0 Right Around the Corner, Guided Tour of LibreOffice

  • LibreOffice 5.0 Right Around the Corner
    Major release LibreOffice 5.0 is due next Wednesday with a lot of new features. Italo Vignoli today posted The Road to LibreOffice 5.0 in which he looks back at all the added features since January 2015 with version 3.3. Today's summary shows "the impressive amount of new features added to LibreOffice since version 3.3." LibreOffice 3.3 was released in January 2011. This release was significant in that the development and management of LibreOffice had come together in a short time and put out a release that brought several new features. SVG support, easier title and page formatting and numbering, improved ergonomics in Calc, and Microsoft Works support were among the newest features added by The Document Foundation.
  • A Guided Tour of LibreOffice
    I have been using LibreOffice since it was called Star Office and all documents opened in a tabbed interface, as in most modern spreadsheet applications (anyone remember those days?). From those early days until now, I have considered Star Office/OpenOffice.org/LibreOffice to be an excellent, if not superior, tool compared to many on the market.