Language Selection

English French German Italian Portuguese Spanish

'Cookbook' author serves up recipe for Linux success

Filed under
Linux

Author Michael Stutz said he has never been satisfied with existing resources for learning about Linux, which is why he wrote The Linux Cookbook. Stutz aims his book at beginners and more experienced users by presenting lessons in a format modeled after a culinary cookbook. In this interview, Stutz discusses shells and graphical versus command-line interfaces -- and why sometimes, in computers, a word is worth a thousand pictures.

For a newcomer to Linux, or someone who is mainly familiar with Windows, could you explain what the shell is and what it does?

Michael Stutz: The shell is a program that provides an interface between the user and the operating system -- it handles your input, controls the execution of other programs and coordinates their output. Those are the generic requirements. In practice, shells can be very robust environments. Most Linux distributions come with several different shells preinstalled that you can pick from. And you can run all kinds of interfaces -- graphical and otherwise -- on top of a shell, but the shell is always there at the base, mediating between you and the operating system. The shell is one of the fundamental components of the Unix operating system, of which Linux is a popular modern-day variety.

There's a good analogy for users of Windows, because I've never thought of Microsoft Windows as anything but an incompatible clone of Unix. It started out as DOS, which was a grossly stunted clone of the shell, made to run on the single-user microcomputers of the time. Then the Windows program was written as an interface to run on top of DOS, much like the X Window System in Unix.

Is one shell better than another for those starting out with Linux?

Aren't most distributions now built to be run from a graphical user interface (GUI)?

The concept of using reserved characters seems tricky to me. What are they and how do they work in the command line?

Full Interview.

More in Tux Machines

10 tips for easier collaboration between office suites

Yes, you are likely using the Microsoft formats for your documents. However, they don't always follow OpenDocument Format (ODF) standards. Instead of opting for the proprietary Microsoft formats, switch over to one that's welcomed by nearly all office suites: ODF. You'll find a much more seamless collaboration process and fewer gotchas when moving between office suites. The only platform that can have a bit of trouble with this format is Android. The one Android office suite that works well with ODF is OfficeSuite 7 Pro. Read more

Outsourcing your webapp maintenance to Debian

It turns out that I'm not the only one who thought about this approach, which has been named "debops". The same day that my talk was announced on the DebConf website, someone emailed me saying that he had instituted the exact same rules at his company, which operates a large Django-based web application in the US and Russia. It was pretty impressive to read about a real business coming to the same conclusions and using the same approach (i.e. system libraries, deployment packages) as Libravatar. Regardless of this though, I think there is a class of applications that are particularly well-suited for the approach we've just described. If a web application is not your full-time job and you want to minimize the amount of work required to keep it running, then it's a good investment to restrict your options and leverage the work of the Debian community to simplify your maintenance burden. The second criterion I would look at is framework maturity. Given the 2-3 year release cycle of stable distributions, this approach is more likely to work with a mature framework like Django. After all, you probably wouldn't compile Apache from source, but until recently building Node.js from source was the preferred option as it was changing so quickly. While it goes against conventional wisdom, relying on system libraries is a sustainable approach you should at least consider in your next project. After all, there is a real cost in bundling and keeping up with external dependencies. Read more

How Intel HD Graphics On Linux Compare To Open-Source AMD/NVIDIA Drivers With Steam On Linux

As earlier this week I did a 20-way AMD Radeon open-source comparison, looked at the most energy efficient Radeon GPUs for Linux gaming, and then yesterday provided a look at the fastest NVIDIA GPUs for open-source gaming with Nouveau, in this article is a culmination of all the open-source graphics tests this week while seeing how Intel Haswell HD Graphics fall into the mix against the open-source Radeon R600/RadeonSI and Nouveau NV50/NVC0 graphics drivers. Read more

Leftovers: Gaming