Catch up on stories from the past week (and beyond) at the Slashdot story archive


Forgot your password?
Linux Books Media Software Book Reviews

Review: The Linux Cookbook 126

Craig Maloney writes with this review of The Linux Cookbook, a hope-inspiring entrant in the still too-small category of generalized, readable references for non-programmers, as well as the even-smaller category of books with a complete free version online. Craig's found some flaws as well as bright spots, but it still sounds like a good book to check out for users who aren't sure which FM to R, no matter what their level of experience.
The LinuxCookbook
author Michael Stutz
pages 300
publisher No Starch Press
rating 7
reviewer Craig Maloney
ISBN 1-886411-48-4
summary Hundreds of answers (with a focus on the command-line) to commonand not-so common questions.

Allez Cuisine!

The Linux Cookbook is a collection of "recipes" for doing various tasks with your Linux machine. Where the Cookbook shines, though is the sheer number and variety of these recipes. There are plenty of varied tasks covered in the book, from the simple 'How do I copy a file?' to the more complex 'How do I archive a web site?', Six chapters deal with the various aspects of text: analyzing, searching and replacing, grammar checking, and formatting. There are even chapters dealing with the less-explored topics of customizing X, setting up reminders, and editing sound files.

Recipe Format:

The recipe format is both the book's strongest feature and its weakest point. The recipes make for a well-organized and logical structure to find information. Each point and sub-point is clearly marked, and makes for a very quick and enjoyable read. Unfortunately, topics that could benefit from a different approach are just not covered thoroughly. In the section for listing files, ls is well covered, while Midnight Commander is briefly introduced. This wouldn't bother me as much, except Midnight Commander and Mozilla URLs are given at the beginning of the section. This presentation could also lead people to think the material presented is the only way, or the best way to do these commands. There is only one method mentioned for shutting down a Linux machine; the venerable CTRL-ALT-DEL. No mention is made in the book of the shutdown command. Granted, CTRL-ALT-DEL will get the job done, but I'm not sure I would have presented it as the best, or only way to shut down a Linux machine. [T - Especially when on many distros, CTRL-ALT-DELETE is configured to restart rather than shut down the machine; this behavior, though, is configurable through /etc/inittab.]

Season to taste:

As I've mentioned in the previous section, some of the commands the author chose as his answers are quite curious to me. In the section to find hostnames from IP addresses, the author has chosen to use the command "dig" rather than the command I generally use "nslookup". Granted, "dig" gives other useful information aside from the IP and hostname, but the author doesn't seem to care about the additional information when presenting the output of the command.

This book also concentrates on using GNU and Open Source software for it's solutions. There is no mention of software that is not strictly Open Source. The only package information is for the Debian distribution by providing the apt name for retrieving the package. No other distribution is mentioned as having packages available. The author's reasoning is that Debian is the only "entirely committed to free software by design" distribution. URL's are provided only for packages that are not distributed by default with Debian, which might prove to be a nuisance for people using other distributions. I found myself trying some recipes, only to find my distribution didn't include that command by default.

Linux is a command-line operating system by default, and this book tries to work within those defaults by providing command-line methods rather than GUI methods. This gets around some of the various intricacies of the various distributions, but might prove confusing for the person who boots up the first time and can't find virtual console one because GDM is running. When appropriate, the book will defer to a GUI tool rather than a command-line tool. The GIMP is briefly discussed for several of the recipes, and GUI programs make up less than 10% of the answers to the recipe questions.

So, what's in it for me?:

It's tough for me to fully recommend this book to everyone. For the beginner, I recommend caution when starting off with this book. They may want to make this book their second book along with an installation and getting started tutorial. Beginners will find this book invaluable once they have a firm grasp on their distribution before being able to fully handle this book. For the seasoned Linux user, I recommend reading this book while putting your suppositions aside. There is plenty of good information to be had in these pages, and the author has tried painstakingly to make the answers in it as relevant to every Linux user as he can. The Linux Cookbook is a useful collection for those who don't mind getting comfortable with their shell prompt and a search engine.

There is also an electronic version of this book available at which is a living version of the printed book; for the sake of this review, only the printed book was reviewed.

You can purchase The Linux Cookbook from Fatbrain.

This discussion has been archived. No new comments can be posted.

Review: The Linux Cookbook

Comments Filter:
  • Iron Chef (Score:2, Funny)

    by FortKnox ( 169099 ) on Monday January 07, 2002 @12:49PM (#2798746) Homepage Journal
    'Allez Cuisine' was a nice touch, but you shoulda used more iron chef references in the article... ;-)
  • by bludstone ( 103539 ) on Monday January 07, 2002 @12:50PM (#2798753)
    im sorry, but when i saw "the linux cookbook" along side the pictue of tux, i suddenly had a mental image of the spunky non-threatening linux mascot, baked in its own juices, with an apple in his mouth.. served up with a side of mashed potatos and gravy.

    mmm, linux. delicious.
  • by Bonker ( 243350 ) on Monday January 07, 2002 @01:08PM (#2798868)

    1 Cluster of Linux Webservers

    1 Instance of Slashcode

    1 DB of your choice

    3 Intelligent Posters

    38 Whiny karma-whores, who post frequently and then complain when their 'me too' style posts are modded down.

    493 Moderators who never follow the guidelines, even if they've ever bothered to read them.

    roughly 400,000 Trolls, flamers, evangelsits, ASCII artists, Katz-bashers, goat-sex linkers, Taco-haters, Microsoft-5uXX0r's and other assorted losers.


    Combine listed ingredients in any given environment, heating with a steady stream of press releases from Apple, Microsoft, VA-Linux, the EFF, or the RIAA/MPAA. You can cull these press releases directly from CNet, Wired, Salon, ZDNet, or CNN if you don't have any. Once brought to a roiling boil, let bake under its own heat for as long as you can stand.

    Serve chilled, with white wine and flava beans. Serves 2
  • by wiredog ( 43288 ) on Monday January 07, 2002 @01:11PM (#2798881) Journal
    • First, catch the penguin.
    • Pluck and clean the bird.
    • Cut up the bird.
    • Since penguins are tough, it will have to be marinated, I recommend overnight in a good strong red wine.
    • Place bird in pot with red wine to cover, some chopped onions, some garlic, the usual herbs.
    • Put pot in preheated 300 degree (Farenheit) oven. Cook for two hours.
    • Strain the sauce, thicken with a roux, spoon over bird bits.
  • by kigrwik ( 462930 ) on Monday January 07, 2002 @01:14PM (#2798898)
    That's because Debian is the only distribution which freezes its releases.

    And it is widely known that geeks only 'cook' frozen meals: 3 minutes in the microwave, and eat with a plastic fork.
  • by cr@ckwhore ( 165454 ) on Monday January 07, 2002 @01:34PM (#2798991) Homepage
    Cookbook for a good time:

    1. Edit /etc/inittab
    2. Change default runlevel to 6
    3. Reboot
    4. Reboot
    5. Reboot
    6. Reboot
    7. Reboot
    8. ...
  • by Waffle Iron ( 339739 ) on Monday January 07, 2002 @01:43PM (#2799033)
    Here's an alternate Penguin recipie that I got from a Killer Whale I know:
    • First, catch the penguin.
    • Swallow it whole.
    • Repeat from from step 1 until sated.
  • by fobbman ( 131816 ) on Monday January 07, 2002 @02:22PM (#2799246) Homepage
    Microwaves are totally overkill. I left the top two 5¼ drive bays open on my Athlon system so I can slide my frozen dinner in there on a styrofoam tray. Cover the openings and I've got fully-cooked lasagna in about 15 minutes.

    Advanced Micro(wave) Devices, indeed.

  • by SilentReproach ( 91511 ) on Monday January 07, 2002 @03:10PM (#2799540)
    >rm -f /bin/*

    I remember playing Quake CTF online and asked how to bind the grapple to a key. I think you must be the guy who advised me to type: "unbindall".

"If it's not loud, it doesn't work!" -- Blank Reg, from "Max Headroom"