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

Manjaro Xfce 0.9.0 Pre2 Arrives with Lots of Fixes, Already Looks Promising

Manjaro Xfce 0.9.0 Pre2, a Linux distribution based on well-tested snapshots of the Arch Linux repositories and 100% compatible with Arch, has been released. The devs have made quite a few improvements to it and users have been asked to test it. Read more

Good Guy NVIDIA Releases New Linux Legacy Driver for Users with Old Cards

NVIDIA has released a new branch of Legacy drivers for the Linux platform and they are the most advanced versions you can get right now for old video cards. Read more

5 Reasons Your Company Should Open Source More Code

Given intense competition for the world's best engineering talent, can your company really afford to lock up its code behind proprietary licenses? Sure, if you're in the business of selling software, giving it all away may not make sense. But the vast majority of companies don't sell software, and should be contributing a heck of a lot more as open source. Read more

Docker chief operator: Why the open source container project is taking a new shape

With a quadrupling of contributors over the past year, the open-source Docker container project has unveiled a new structure aimed at dealing with that accelerating growth. The reorganisation, which itself went through the community's design process, is intended to increase Docker's openness and accessibility, and enable the project to increase in size massively without affecting core qualities, such as response times and good communication. Read more