Welcome!

Linux Authors: Pat Romanski, Carmen Gonzalez, Elizabeth White, Victoria Livschitz, Ignacio M. Llorente

Related Topics: Linux

Linux: Article

The Linux Cookbook: Michael Stutz On Using Linux For Everyday Activities

The Linux Cookbook: Michael Stutz On Using Linux For Everyday Activities

Michael Stutz, author of The Linux Cookbook, 2nd Edition: Tips and Techniques for Everyday Use, discusses what inspired him to write this book, when he first started using Linux, and other world views.

Who is this book written for - system administrators or people new to Linux?
Admins will find the organization of undocumented tips and tricks quite useful, but it's not a technicians-only kind of book. I wanted to write a book that would also be of great value to someone who was totally new to Linux, that would show you the whole Linux culture and Linux way of doing things from the ground up.

It's the kind of book that you could use in a hands-on Linux course, but that would actually be useful enough so that the students would keep it as a daily reference afterward, instead of selling it right back to the college bookstore when the class is over.

This isn't a Linux for Total Fools in Five Seconds type book; it's not cutesy or trendy, and the purpose is not to enable someone who couldn't care less about the subject to cheat his way through, but to elevate the user by showing him how to use Linux for real.

You don't need a book to tell you how to fake it with a GUI, anyway. The only way to really know Linux is to learn the language of the command line. You'll save a lot of time in life by knowing that, and that's what this book is for.

What kind of feedback have you been getting on the book?
It hasn't been out very long but happily people seem to love it!

That's been reassuring because a lot of time and effort went into making it. With all due respect to Krispy Kreme, computer books nowadays are plopped out quicker than hot glazed doughnuts, but the Linux Cookbook wasn't like that at all. It's not a series book and it wasn't written for hire; it was only written because I had grown utterly dejected at the thought of how everyday people were using their computers. It really made me sad to see this mass inefficiency. People had these horrible time-wasting methods pushed on them when I knew they would be so much better off running Linux.

What's your background?
Computers were always inherent - this is the Internet Age, after all - but I'm a programmer or technician only by amateur or theoretical inquiry, not by trade. My background is literature and philosophy, which has brought the advantage of perspective. The secret that most people don't seem to know, because of what our culture has become in recent decades, is the fundamental idea that computer software is not, strictly speaking, technology at all. A program is just a literary work; it's a kind of technical literature. I talk about this in the introduction.

Forty years ago the United States was the greatest producer society in the world. What happened in that interval and how does it relate to Linux? Part of that transformative shift was the adoption of the view that computer programs were objects that you bought at the store, that they were somehow new "technology" to bank on. This obscured what they really were - written works to be published and examined and read, as well as performed by the hardware. When you remove that from the culture and only sell it as a sealed object in the box, you have a fairy-tale economy and a culture that is sliding into irrelevance, decadence, and decay. Linux is a return to the old tradition, to the individual inventor-scientist and industrial entrepreneur as the productive member of an educated populace. That's what so exciting about it.

How did you come to learn about Linux?
I heard about it on the newsgroups back when it was being invented. At first I thought, "Hey, this will be great," but I knew it would be some time before it would actually be useful as an everyday OS. Those were the days when Linus said he wasn't going to support the SCSI bus. Then after a few years I came back to it when the first distributions had come out. I got a copy of Slackware Linux, where you had to make an install set of about 42 floppy disks. I've never run another OS since. It looks very different today, of course, but the core of it - what is taught in The Linux Cookbook - is the same.

What's your favorite Linux program?
That's like asking a poet what his favorite word is; it's all in how they go together.

Is there anything you need to run Windows for?
Yes, there is an area affecting business and home use where Linux is greatly deficient, and I see no solution coming at all. I refer to the area of e-mail viruses - they just don't make them for Linux like they do for Windows. Same with a lot of those crippling meltdowns and system errors. If you want a blue screen of death freeze-up, you pretty much have to run Windows to get it. You won't be able to run those trojan horses that steal all your passwords and copy your files out to the Internet, and you're out of luck with all those funny attachments that wreak havoc in the workplace - there isn't any Linux compatibility here at all.

Do you think that Linux has enough applications that people can completely leave Windows behind?
Absolutely. If you don't need the viruses and freeze-ups, by all means go with Linux. Linux is loaded with applications, everything you need. Some distributions give you hundreds and hundreds of programs. The quality is high, too; the best minds in software today are working with Linux and have been for years.

On a practical and theoretical level, there's really no need for running anything else, if maximum efficiency is desired. I haven't run a proprietary OS in over a decade. This is true for the workplace as well as the home. The smart business today is the one that uses Linux.

Speaking in general terms, if you need to use a computer to get something done fast, you're going to be a step ahead by using Linux. That's the fundamental idea behind The Linux Cookbook; it describes how to use the system for the everyday activities of the average user, and not just the technical operations.

What would your advice be to someone who is just learning Linux? What's the best way to learn it?
The way to learn anything on computers is to sit down and do it. That's the only way - trial and error.

Knowing that, I designed the Cookbook to work as a textbook that can guide you at the keys by telling you what to type and explaining why you type it, starting with the utter fundamentals such as logging in and turning the computer on and off, and building up to the most complex operations you'll probably ever come up with.

Why does the book look different inside from most other computer books?
Since The Linux Cookbook is all about using Linux for everyday work, I thought, "What better way to demonstrate that than to use Linux to make the book?"

So through an arrangement with the publisher, I typeset the book using only free software on Linux. Everything you see in the book was done with the open source, free software that you get with Linux. How's that for a demonstration?

Because of computers, graphic design is no longer the domain of experts - anyone can use desktop publishing software to typeset something. But there's a paradox. If you look around, the result of this new capability is not so good; in fact, it's a nightmare. Perhaps I'm a little more sensitive to this than some, but everywhere I go I see poor typography and awful design. Who can peacefully dine in a supposedly fine restaurant when you see that the menu is slapped together with all the wrong fonts? How can you take a place seriously when you see the cheap sign out along the road? The same with books. When was the last time you flipped through a book and thought it looked absolutely great? I like the best of the books made on the Monotype and Linotype equipment of the precomputer days, and using Donald Knuth's TeX typesetting system I deliberately tried to achieve that caliber of greatness with The Linux Cookbook, to make a product that someone might actually be proud to own.

Do you think that Linux is just for home users?
No, not at all. Linux is not just an end-user system. While it's ideal for what's called "the desktop," either in the home or office - and that is the usage that I describe in The Linux Cookbook - it also excels in industrial applications. It's unparalleled there.

Many foreign governments are taking advantage of Linux for this reason, as well as foreign industries. We would do well to do the same here in the United States. The United States as a matter of policy has to get back to the kind of producer economy that we had 40 years ago, when computing was in its infancy. A tremendous shift in our culture occurred at that time, including the rejection of what we today call the open source method. We closed the factories, put the software in boxes, and called it a "post-industrial economy."

But it's no economy; that shift was a terrible mistake. Since then our production has plummeted and our culture has gone down with it. The United States is no longer a world leader in art and culture. The most popular word to describe its citizens today is "consumer." Our cities are decaying and dangerous. The implications for the younger generation are terrifying. But with Linux, we could turn all of that around!

Why is it a "cookbook"? Are there any recipes for food inside?
Doing something with a computer is a lot like making something in the kitchen, so the "recipe" metaphor lends itself to computer instruction. Don Lancaster wrote the first computer cook-books back in the early 1970s, I think, and before that in The Art of Computer Programming Knuth very clearly draws upon the metaphor. There are all kinds of computer "cookbooks" today because it's a natural way to look at the act of programming. While most computer cookbooks are for programmers and give "cookbook" snippets of program code, The Linux Cookbook uses that method for teaching the language of the command line, and I think it's very successful at that.

As for culinary recipes, there aren't any in the book. But it's not unheard of - Hemingway indulged in that, and in The Dharma Bums Kerouac tells you how trail mix is made. In Clifford Stoll's The Cuckoo's Egg, a book about computer hackers, there's a recipe for chocolate chip cookies.

What is your favorite cookbook in general?
I can talk all night on this subject! Generally the cookbooks I enjoy are the old ones. There was a time when America had many of the world's greatest chefs, and the greatest restaurants, and I look for that. For American cookbooks Master Chef Louis P. De Gouy set the standard, and if you can find a first edition of his Gold Cook Book it is worth it. Some say the cookbook put out by Vincent Price and his wife is one of the finest of the 20th century. Every well-appointed restaurant kitchen has Escoffier and a copy of the Larousse Gastronomique.

The Ford Motor Company used to publish excellent cookbooks featuring recipes from America's famous restaurants. When you bought a car they gave you one: "Here, go out on the road in your nice new Ford and have a look at this fine country!" Who in the world would do that today? What, to check out the Olive Gardens in Idaho? Of course it's nostalgic, since the entire nation has now been taken over by a giant franchise chain. I seek that forgotten history. Luchow's and Mama Leone's were New York institutions (with excellent cookbooks) the likes of which you cannot find in New York, or anywhere else today - Manhattan recently lost its last diner.

Even out in Columbus, Ohio, they had a gigantic world-class landmark, the Kahiki Polynesian Supper Club, worthy of a cookbook of its own. Its myriad features included an indoor tropical forest complete with thunder and rainstorm. The place was an astounding achievement, wonderfully preserved, and back in 2000 only weeks after it was voted best in the world by Food & Wine magazine, they demolished it for a Walgreen's. That's the future, for us and for all our children. Where is the outrage?

How about your favorite cartoon?
Zippy! I'll have to share my favorite Zippy strip, which relates to this discussion: zippythepinhead.com.

To conclude on a happy note, you should know that Linux has a way to display random Zippy quotes, and there's a recipe to show you how to do it in The Linux Cookbook.

About Michael Stutz
Michael Stutz has used Linux exclusively for over a decade. He was the first to apply the open source methodology of Linux to non-software works, and was one of the first reporters to cover Linux and the free software movement in the mainstream press. His "Living Linux" column runs on the O'Reilly Network.

More Stories By Kevin Bedell

Kevin Bedell, one of the founding editors of Linux.SYS-CON.com, writes and speaks frequently on Linux and open source. He is the director of consulting and training for Black Duck Software.

Comments (14) View Comments

Share your thoughts on this story.

Add your comment
You must be signed in to add a comment. Sign-in | Register

In accordance with our Comment Policy, we encourage comments that are on topic, relevant and to-the-point. We will remove comments that include profanity, personal attacks, racial slurs, threats of violence, or other inappropriate material that violates our Terms and Conditions, and will block users who make repeated violations. We ask all readers to expect diversity of opinion and to treat one another with dignity and respect.


Most Recent Comments
Karri89 02/04/05 01:09:04 PM EST

I'm a newbie to the world of UNIX/Linux and
found this book very helpful in guiding me
through what was unfamiliar territory. I have to admit
that being a former WindowsNT user, I was nervous at
first, but the Stutz Cookbook showed me that there was
nothing to be afraid of and that Linux is as
easy to operate as my trusty old NT box, if not
even easier! And he's right about the email problem.
It's GREAT not having to worry about the back-door
viruses that were so plentiful in Outlook (no matter
how recent I was on my Norton Anti-Virus load!)

The other nice thing about the book is how the author
explains the concept of OpenSource and Linux. This was
the first book I saw that actually explains WHY I should
make the big switch (to Linux).

Glen 02/03/05 01:45:22 PM EST

This article made me want to rush out and NOT buy his book. He says the book is not trendy/cutesy, but that's just what this ridiculous article is. Food recipes? Chocolate chip cookies? Are you kidding? This is more like an interview from a sappy, lame, local news channel than an IT magazine.

MERWIN, T 02/02/05 10:42:47 AM EST

MARTHA JUST TYPE IN LINUX COOKBOOK IN AMAZON

IT WILL COME UP FOR SECOND EDITION

RIGHT HERE

CompWizKid 01/25/05 02:49:11 PM EST

Your wanna-be gurus are funny. I run a 98, two XP's, one debian, one slackware, one Gentoo system, and one Mac. first of all, if you want "ease-of-use" for any media based medium(photos, video, grahpical editing), Windows is not indispnesable. Furthermore, if you want to game(ANY GAME) is written for and runs on Windows systems. The statement that society is decaying due to the ease-of-use of windows systems is plain eccentric. Lets come to one generallization; people are lazy,and people are stupid. I would rather an everyday user(non-techie) not use linux due to the fact that it would take more time to support them, which would overcast the efficency it would save. Anyone who is good at computers knows how many times friends and family ask them to "fix their computer." These computers are PCs, so think if they were linux/unix machines.

Drivers are a major problem from system to system. XP comes preloaded with alomost any driver that is possible.

Wireless technologies are becoming more of IT professionals everyday life. The time it takes to configure and startup a wireless arcitechture on a Linux based system far exceeds that of a windows system. When I am showing a demo to a potential customer, should I spend more time configuring or demoing. Furthermore if a client would like to display a concept of some sort and cant navigate, more time is wasted and causes confusion. Lastly I am extreamly mobile person(grad student). The ability to travel from AP to AP seamlessly is important to me. Also, for most new technology laptops, advanced option drivers(integrated wireless)are not available. This introduces additional costs.

A humble Linux user 01/24/05 09:00:31 AM EST

Sorry, but I must said that I've been using Linux for the last four years and yes, it ALMOST replaced Windows for all my home uses except for one: it still (well, it was not six months ago) not possible to print family photos in my deskjet with the same quality as the Windows ones. This has been acknowledged by HP support, and is, except kids games, my only reason to still boot Windows.

colin case 01/23/05 03:15:29 PM EST

martha, i got mine really cheap on amazon + free shipping...

martha 01/23/05 02:19:59 PM EST

It's nice that you linked to Zippy, but did you consider linking to some locations that sell the book.

Wally Masterson 01/22/05 07:14:39 PM EST

This is a great book on Linux - I own it and find it indispensable.

A reader 01/22/05 06:25:45 PM EST

You've got to be kidding. Linux is good and all, but this guy is on crack or something. First, I like how he says Linux maximizes his efficiency, but how he hasn't used a proprietary OS in so many years. He seems to have such a solid basis for comparison then. Or how about, "Our cities are decaying and dangerous. The implications for the younger generation are terrifying. But with Linux, we could turn all of that around!" WTF? Is this guy for real?

Sarah 01/22/05 05:55:30 PM EST

Dunno how long it lasts, but I found a 20% discount link from the publisher...

Stuart B 01/22/05 08:54:54 AM EST

I use Linux for almost everything.
The only thing I need Windows for is DVD authoring.
DVD authoring tools under Linux are worthless ... so far.

Matt 01/22/05 06:24:26 AM EST

Ron, have you heard of this thing called the internet? It's real handy. You can even look up books there. Try it, you'll like it!

bazmudi 01/21/05 07:22:51 AM EST

ron, i find publisher-page here: $31.95

amazon for best deal: $26.37

Ron 01/20/05 10:46:14 PM EST

And the publisher of this book is? And it is available where, when, for how much?

@ThingsExpo Stories
Cultural, regulatory, environmental, political and economic (CREPE) conditions over the past decade are creating cross-industry solution spaces that require processes and technologies from both the Internet of Things (IoT), and Data Management and Analytics (DMA). These solution spaces are evolving into Sensor Analytics Ecosystems (SAE) that represent significant new opportunities for organizations of all types. Public Utilities throughout the world, providing electricity, natural gas and water, are pursuing SmartGrid initiatives that represent one of the more mature examples of SAE. We have s...
The security devil is always in the details of the attack: the ones you've endured, the ones you prepare yourself to fend off, and the ones that, you fear, will catch you completely unaware and defenseless. The Internet of Things (IoT) is nothing if not an endless proliferation of details. It's the vision of a world in which continuous Internet connectivity and addressability is embedded into a growing range of human artifacts, into the natural world, and even into our smartphones, appliances, and physical persons. In the IoT vision, every new "thing" - sensor, actuator, data source, data con...
The Internet of Things is tied together with a thin strand that is known as time. Coincidentally, at the core of nearly all data analytics is a timestamp. When working with time series data there are a few core principles that everyone should consider, especially across datasets where time is the common boundary. In his session at Internet of @ThingsExpo, Jim Scott, Director of Enterprise Strategy & Architecture at MapR Technologies, discussed single-value, geo-spatial, and log time series data. By focusing on enterprise applications and the data center, he will use OpenTSDB as an example t...
How do APIs and IoT relate? The answer is not as simple as merely adding an API on top of a dumb device, but rather about understanding the architectural patterns for implementing an IoT fabric. There are typically two or three trends: Exposing the device to a management framework Exposing that management framework to a business centric logic Exposing that business layer and data to end users. This last trend is the IoT stack, which involves a new shift in the separation of what stuff happens, where data lives and where the interface lies. For instance, it's a mix of architectural styles ...
The 3rd International Internet of @ThingsExpo, co-located with the 16th International Cloud Expo - to be held June 9-11, 2015, at the Javits Center in New York City, NY - announces that its Call for Papers is now open. The Internet of Things (IoT) is the biggest idea since the creation of the Worldwide Web more than 20 years ago.
An entirely new security model is needed for the Internet of Things, or is it? Can we save some old and tested controls for this new and different environment? In his session at @ThingsExpo, New York's at the Javits Center, Davi Ottenheimer, EMC Senior Director of Trust, reviewed hands-on lessons with IoT devices and reveal a new risk balance you might not expect. Davi Ottenheimer, EMC Senior Director of Trust, has more than nineteen years' experience managing global security operations and assessments, including a decade of leading incident response and digital forensics. He is co-author of t...
The Internet of Things will greatly expand the opportunities for data collection and new business models driven off of that data. In her session at @ThingsExpo, Esmeralda Swartz, CMO of MetraTech, discussed how for this to be effective you not only need to have infrastructure and operational models capable of utilizing this new phenomenon, but increasingly service providers will need to convince a skeptical public to participate. Get ready to show them the money!
The Internet of Things will put IT to its ultimate test by creating infinite new opportunities to digitize products and services, generate and analyze new data to improve customer satisfaction, and discover new ways to gain a competitive advantage across nearly every industry. In order to help corporate business units to capitalize on the rapidly evolving IoT opportunities, IT must stand up to a new set of challenges. In his session at @ThingsExpo, Jeff Kaplan, Managing Director of THINKstrategies, will examine why IT must finally fulfill its role in support of its SBUs or face a new round of...
One of the biggest challenges when developing connected devices is identifying user value and delivering it through successful user experiences. In his session at Internet of @ThingsExpo, Mike Kuniavsky, Principal Scientist, Innovation Services at PARC, described an IoT-specific approach to user experience design that combines approaches from interaction design, industrial design and service design to create experiences that go beyond simple connected gadgets to create lasting, multi-device experiences grounded in people's real needs and desires.
Enthusiasm for the Internet of Things has reached an all-time high. In 2013 alone, venture capitalists spent more than $1 billion dollars investing in the IoT space. With "smart" appliances and devices, IoT covers wearable smart devices, cloud services to hardware companies. Nest, a Google company, detects temperatures inside homes and automatically adjusts it by tracking its user's habit. These technologies are quickly developing and with it come challenges such as bridging infrastructure gaps, abiding by privacy concerns and making the concept a reality. These challenges can't be addressed w...
The Domain Name Service (DNS) is one of the most important components in networking infrastructure, enabling users and services to access applications by translating URLs (names) into IP addresses (numbers). Because every icon and URL and all embedded content on a website requires a DNS lookup loading complex sites necessitates hundreds of DNS queries. In addition, as more internet-enabled ‘Things' get connected, people will rely on DNS to name and find their fridges, toasters and toilets. According to a recent IDG Research Services Survey this rate of traffic will only grow. What's driving t...
Scott Jenson leads a project called The Physical Web within the Chrome team at Google. Project members are working to take the scalability and openness of the web and use it to talk to the exponentially exploding range of smart devices. Nearly every company today working on the IoT comes up with the same basic solution: use my server and you'll be fine. But if we really believe there will be trillions of these devices, that just can't scale. We need a system that is open a scalable and by using the URL as a basic building block, we open this up and get the same resilience that the web enjoys.
Connected devices and the Internet of Things are getting significant momentum in 2014. In his session at Internet of @ThingsExpo, Jim Hunter, Chief Scientist & Technology Evangelist at Greenwave Systems, examined three key elements that together will drive mass adoption of the IoT before the end of 2015. The first element is the recent advent of robust open source protocols (like AllJoyn and WebRTC) that facilitate M2M communication. The second is broad availability of flexible, cost-effective storage designed to handle the massive surge in back-end data in a world where timely analytics is e...
We are reaching the end of the beginning with WebRTC, and real systems using this technology have begun to appear. One challenge that faces every WebRTC deployment (in some form or another) is identity management. For example, if you have an existing service – possibly built on a variety of different PaaS/SaaS offerings – and you want to add real-time communications you are faced with a challenge relating to user management, authentication, authorization, and validation. Service providers will want to use their existing identities, but these will have credentials already that are (hopefully) i...
"Matrix is an ambitious open standard and implementation that's set up to break down the fragmentation problems that exist in IP messaging and VoIP communication," explained John Woolf, Technical Evangelist at Matrix, in this SYS-CON.tv interview at @ThingsExpo, held Nov 4–6, 2014, at the Santa Clara Convention Center in Santa Clara, CA.
P2P RTC will impact the landscape of communications, shifting from traditional telephony style communications models to OTT (Over-The-Top) cloud assisted & PaaS (Platform as a Service) communication services. The P2P shift will impact many areas of our lives, from mobile communication, human interactive web services, RTC and telephony infrastructure, user federation, security and privacy implications, business costs, and scalability. In his session at @ThingsExpo, Robin Raymond, Chief Architect at Hookflash, will walk through the shifting landscape of traditional telephone and voice services ...
Explosive growth in connected devices. Enormous amounts of data for collection and analysis. Critical use of data for split-second decision making and actionable information. All three are factors in making the Internet of Things a reality. Yet, any one factor would have an IT organization pondering its infrastructure strategy. How should your organization enhance its IT framework to enable an Internet of Things implementation? In his session at Internet of @ThingsExpo, James Kirkland, Chief Architect for the Internet of Things and Intelligent Systems at Red Hat, described how to revolutioniz...
Bit6 today issued a challenge to the technology community implementing Web Real Time Communication (WebRTC). To leap beyond WebRTC’s significant limitations and fully leverage its underlying value to accelerate innovation, application developers need to consider the entire communications ecosystem.
The definition of IoT is not new, in fact it’s been around for over a decade. What has changed is the public's awareness that the technology we use on a daily basis has caught up on the vision of an always on, always connected world. If you look into the details of what comprises the IoT, you’ll see that it includes everything from cloud computing, Big Data analytics, “Things,” Web communication, applications, network, storage, etc. It is essentially including everything connected online from hardware to software, or as we like to say, it’s an Internet of many different things. The difference ...
Cloud Expo 2014 TV commercials will feature @ThingsExpo, which was launched in June, 2014 at New York City's Javits Center as the largest 'Internet of Things' event in the world.