A couple of months ago — my apologies to the publishers — No Starch Press sent me a copy of William E. Shotts Jr.’s “The Linux Command Line: A Complete Introduction” to review. I didn’t get to the review until now because, well, I just finished it.
No, I’m not a slow reader; in fact, I’m pretty fast when it comes to going cover to cover. But by “finish” the book, I mean that I am finished reading and re-reading this book, trying out some of the things I already knew and working on things that I didn’t know until I read the book.
In short, “The Linux Command Line” is more than a complete introduction — it’s a full education in 432 pages (not counting the index).
A little background: In the ways of Linux, I am primarily self-taught over the last six years. However, I have taken courses at Cabrillo College which lead to the California State University system’s Unix/Linux Administrator Certificate (I’m lacking a couple of classes — the Windows ones, to be honest). I didn’t exactly ace CIS130 Bash Scripting, but I passed. Also, I have never been afraid of the command line, though I do prefer to use text editors like Geany over things like vi (and, for the love of all things holy, keep emacs the heck away from me!) when fixing files.
That said, and to the author’s overwhelming credit, Shotts takes a topic that could drop all but the most hardcore geeks into a coma-like sleep and makes it very interesting and, at times, fun. His tight writing style and economy of words when explaining concepts are a plus here, and the asides — outlined in grey boxes throughout the book — usually come at the right time in the text, where a mental breather is probably a good idea.
My favorite example of many is this: In Chapter 15 on Storage Media, Shotts take a grey-box look at “Why unmounting is important.” Of course, it is important, but he goes into the ever important why, explaining the ins and outs of buffering and how that affects storage. To the years-of-experience Linux user who would say, “Well, duh!” it might be old news. To those of us who didn’t know such intricacies until reading this, it was a refreshing tangent that wrapped things together in the chapter.
Each of the chapters is like this, very informative — but not boringly so — punctuated with asides that contribute greatly to the chapter itself. The first 22 chapters were an enjoyable walk though many things I already knew, and some things that were a revelation. In fact, rather than a reference book, “The Linux Command Line” reads more like a story — or maybe a biographical novel — of the command line.
Then cue the ominous music: From chapters 23 to the end, which is 36, we get to where the proverbial rubber meets the road; where it’s make or break time. It’s the hard stuff.
Another aside: In “My Blue Heaven,” witness-protected Steve Martin tells FBI agent Rick Moranis at one point that he’s never used a firearm. “It doomed me to middle management,” Martin’s character says. That’s kind of where I’m at with programming — I’ve used programs, submitted bug reports and even written bash scripts, but never compiled a program.
Chapter 23 stars with compiling, which I did (whew!). Chapter 24 deals with bash scripting (which I’ve done in the past, and now have a better understanding of it) and continues on through some of the more intricate parts of command-line use, like “Starting a Project” (Chapter 25), “Top Down Design” (Chapter 26), two chapters on Flow Control (27 and 29), ending up with “Exotica” in Chapter 36. Again, with Shotts’ thorough explanations in each chapter — again, thorough but not droll — assuming the reader is of average intelligence and can understand what’s written, he or she would come away with command-line skills that could be put to immediate use.
Early on, Shotts touches on the gist of why this book — and why it’s a “complete introduction” to the command line — might be on the long side. “Learning the command line is challenging and takes real effort. It’s not that it’s so hard, but rather it’s so vast.”
No truer words were spoken.
So if you’re relatively new to Linux but can install a distro and navagate your way around the command line, even peripherally, this book will be a help to get you into an area of Linux that can be both helpful and interesting at the same time. If you’re an experienced administrator coming to Linux from another operating system, you’ll find this a valuable reference. Everyone else in between would clearly benefit from having a copy of this book as well.
One drawback, however: There’s a typo on page 51, where a sentence is missing an R. I am certain that the editors will fix that before the next printing.
But never mind: “The Linux Command Line: A Complete Introduction” by William E. Shotts, Jr., gets my highest recommendation for a book that educates and entertains with equal doses of practical knowledge and peripheral anecdotes.
(Larry Cafiero is one of the founders of the Lindependence Project and develops business software at Redwood Digital Research, a consultancy that provides FOSS solutions in the small business and home office environment.)
Those of you who know me know that I’m an old ThinkPad guy, in more ways than one. I myself am older than many of you reading this — well on my way to AARP membership status as I reach 55 this November — and the ThinkPads I use on a daily basis are themselves old, namely a T30 and an R40.
ThinkPads are painfully utilitarian, amazingly solid, and like the Model T Fords come in a wide variety of colors as long as you choose black. For these reasons, ThinkPads lend themselves to being the laptop of choice for many laptop users, mostly developers. To make them more attractive — for loss of a better word — many a ThinkPad is embellished with stickers on the cover, rivaling the best of the NASCAR field. Mine is no exception: My ThinkPad does its laps with EFF, SCALE 10X, Oregon State University Open Source Lab, Open Source for America, two Google Summer of Code, and No Starch Press stickers gracing the laptop cover.
So when ZaReason sent me an Alto 3880 to put through its paces, my first reaction was, “Wow. This is too nice to put stickers on.”
The Alto 3880’s cover is a very stylish silver and should be kept in its pristine form. A look around the laptop before opening it shows that ports are readily available on the sides — with monitor, ethernet and USB ports conveniently located on the left side instead of on the back. While many might find this a simple design, ThinkPad users would be thrilled to know that the oft-inconvenient ThinkPad reacharound to plug in USB cables or thumb drives is not necessary here. In giving it the once over before opening it, the Alto is light in one’s hands, but it still feels sturdy.
Opening the cover and pushing the on button reveals a screen with remarkable clarity contrasted on a black background and base. If you’re a regular ThinkPad user, the keyboard is different — flat keys at the same level — and takes getting used to. With heavy fingers like mine, the pounding I would normally offer the ThinkPad feels like I’m mercilessly pounding this keyboard and suggests some behavior modification. But ultimately the keyboard is tough enough to withstand it and after adjusting to the new keyboard — wider than the ThinkPad’s — it is easy to adapt to and to get accustomed to the additional real estate for your hands.
Performance wise, the Alto 3880 flies on the trio of distros I used on it, and without boring you with the minutiae, with one exception that turned out to be a software clash, the laptop performed without a hitch. With the 1366-by-768 resolution on a an remarkably clear 14-inch screen, the laptop would make a fine — no, make that an outstanding — replacement for my old ThinkPads.
I used three different distros on the Alto 3880, and each performed well, and each would make a fine choice for the person owning this laptop. The three contestants, for the sake of argument, are Linux Mint and Fedora — both which you can have preinstalled by ZaReason — and CrunchBang, which you can install on your own (until I convince ZaReason to make it a choice). However, as I understand it, if you request a different distro, ZaReason will install it. Or if you want no operating system, they’ll send it like that, too. Unlike other Linux hardware vendors, ZaReason offers a wide choice in this department.
But I digress. Here’s how the distros did:
Alto 3880 with Linux Mint: Originally, the laptop came to me with Linux Mint 12, which is the latest version of the distro with the GNOME 2.x-type desktop. The Alto 3880 did remarkably well with Linux Mint, which is growing on a lot of people (including me). Switching from MATE to GNOME to Cinnamon was a snap, and the performance was outstanding. In one instance on a busy morning where I forgot to plug in the laptop, I got just over four hours from the battery using multiple programs on Linux Mint.
Alto 3880 with Fedora 16: I’m waiting for the myth that Fedora is too “cutting edge” for the average user to go the way of the Studebaker and the hula hoop. It’s just that — a myth — and Fedora 16 runs circles around just about everything else on this machine. After installing Flash so one can — oh, I don’t know — participate in the wider Internet world, the distro and hardware handled everything I threw at it from a video and audio standpoint with aplomb.
Alto 3880 with CrunchBang Statler: The laptop has the horses, so to speak, to run the previous two desktop environments without breaking a sweat. So when faced with handling the Openbox window manager on CrunchBang, the distro soared. Also, the built-in camera worked flawlessly during a Google+ Hangout with the CrunchBang crew.
Alto 3880 strengths
Regardless of what distro is running on it, the Alto 3880 is remarkably versatile and handles a wide range of work without complaint. In fact, the only problem I had was helping my daughter solve what turned out to be a common GIMP and Banshee problem where the programs, both running simultaneously, weren’t playing nice with each other — clearly not a reflection on the hardware. The screen is very clear and handles high resolutions flawlessly, which is a benefit for those who want to do things like watch videos or do intricate graphics work (Note: My daughter Mimi will be writing her own review of this laptop as well). Across the distro board, the audio and video performance was outstanding, with the onboard speakers sounding good enough to forgo plugging in speakers in some cases (though the speakers sounded good, too, when used to watch DVDs). the laptop itself is lightweight but solid, and the design is top-notch — this is a beautiful laptop.
There is a lot to like on this laptop, but the one thing that took getting used to is the keyboard. Again, this might be just something for the personal preference folder, but the keyboard at first tends to feel a little light to the touch. Also, the mouse button, which is a single bar at the same level as the touchpad operating on a centered fulcrum (click the left side for the left mouse button, right side for the right) is hard to adjust to when coming from hardware where the buttons are raised. To be fair, it would be difficult to imagine that a ThinkPad-like keyboard would work, design wise, on a laptop like this.
A final look
I don’t have a rating system — stars, penguins, horseshoes, whatever — in place, but if I did I would rank the Alto 3880 very high; for the sake of argument, let’s say 4.5 penguins out of a perfect 5 penguins. Its combination of sleek design and high performance make this laptop one that would easily draw me away from the ranks of the ThinkPad users. The retail price for this machine is $599, which many of you might think is a little high compared to what you could get at Best Buy. But when you consider that when buying from a Linux hardware vendor, you’re not only getting a quality machine with a great OS, your purchase supports FOSS, for starters, by not putting another “sale” in Redmond’s tally. With its wide range of capabilities and performance, the Alto 3880 is a laptop I would be proud to own and, if Uncle Sam is generous with a tax return, would be glad to purchase.
Screen: 14-inch HD, 1366-by-768 Glossy LED Backlit Display
Processor: Pentium B940, 2 GHz, 2 core, 2 thread
Memory: 4GB DDR-3
Graphics card: Intel Integrated HD Graphics
Hard Drive: 250GB 5,400 RPM (NOTE: Tested with 400GB HD)
Optical Drive: Combo CD/DVD burner
Audio: Speakers above the keyboard for quality sound output
Wireless: 802.11 B/G/N WiFi included and Bluetooth
Reader: 3-in-1 card reader — SD/MMC/MS supported
Camera: 1.3 Megapixel webcam included
Ports: HDMI and VGA monitor ports; Gigabit Ethernet port; ensington lock port; Headphone and microphone jacks; three USB 2.0 ports
Operating System: Your choice from a variety of Linux distros, or no operating system
Battery: Six-cell battery, up to 5 hours
Weight: 4.5 pounds
Coming tomorrow: This . . . is . . . STRATA! A look at the ZaReason Strata 6880.
(Larry Cafiero is one of the founders of the Lindependence Project and has just started developing software at Redwood Digital Research, a consultancy that provides FOSS solutions in the small business and home office environment.)