The UNIX way

+

The UNIX way

Back in the 1980s, someone started the UNIX-HATERS mailing list as a means of venting UNIX-related frustrations. In 1994, Simson Garfinkel, Daniel Weise, and Steven Strassmann collected these frustrations and published them in a book called “The UNIX-HATERS Handbook” with extra commentary aimed to portray one view: UNIX sucks. The book itself contains plenty of great information about different technologies such as shell scripting, UNIX commands, email and file systems – it’s too bad that they cast everything in a very negative light.

Basically, the book is just a “rant” on UNIX frustrations from some guys that are convinced that UNIX is evil and should go away. It is a book written by people who don’t understand “the UNIX way”.

I didn’t actually know that this book existed until recently (although it was written back in 1994), so I decided to pick it up and read it. Many things are funny today simply because of the time the rant was written. For example, the email problems that this book talk about with UNIX are all seen today in some form (plus many more problems that were unfathomable back then) but the book attributes them to UNIX because UNIX systems were the only email systems back then.

Most of the people I know and work with love UNIX – and I am one of them. Why do I love it? I love it because I understand “the UNIX way”. For a new UNIX user with fresh eyes, older UNIX systems did look scary – the graphical interface was crude and the command line shell and related commands had a huge learning curve (there were over 3000 commands back then on a typical UNIX system).

But for us computer science folk, computers are tools. And like artists, we tend to choose a medium with tools that provide flexibility and power over those that have a small learning curve. Back then, it was easy to see that if you mastered UNIX, you could pretty much do anything!

So we mastered UNIX, and that was that. But as we learned how UNIX worked and the infinite possibilities of the system, the more we craved it, the more we wanted to solve problems and build systems with UNIX. It was a learning roller-coaster that was extremely addictive and gratifying at the same time.

Eventually, you learned that UNIX is all about building powerful systems from simple components in different ways. That is “the UNIX way”.

Not everyone has the ability or desire to see that. You must be a power user to use UNIX. In “The UNIX-HATERS Handbook”, most frustrations mentioned are funny since they are from people who don’t understand (or in some cases don’t want to understand) UNIX. For example, there was this post from a guy who was upset when he ran the exec ls command without first researching what exec does (the command executes ls without forking and hence kills the current shell). There is also some guy who ran the rm * .txt command (because there is a space between * and .txt, the rm command removes all files and the .txt file instead of all files that end in .txt). UNIX just did what those people told it to do. Dumb carbon-based life forms are to blame :-)

Although I have used UNIX for over 20 years and many people call me a UNIX guru, UNIX never ceases to amaze me - solving problems with UNIX is as exciting for me today as it was 20 years ago.

The UNIX graphical interface (X Windows) did seem a bit out-of-date back in the late 1980s and early 1990s compared to the slick Macintosh graphical interface. However, UNIX and X Windows were built with modularity…….they were built with the future in mind. And today, UNIX has blossomed. Macintosh OS X is basically a UNIX system that anyone can use – it is fast, stable, secure and is generally considered far superior to Windows today (just watch those Mac vs PC commercials). Linux has taken the world by storm and is the most powerful UNIX system today. It is fast replacing Windows in the server market (Red Hat, SuSE, Debian) as well as the desktop market (Ubuntu, mini-PC distributions). Not only is Linux lightning fast, its graphical abilities (still using X Windows) can swim circles around the graphical abilities of both Macintoshes and Windows PCs (Compiz effects).

I would be interested to know whether Simson Garfinkel, Daniel Weise, and Steven Strassmann still think that UNIX sucks today :-)

Coincidentally, the Macintosh advertisement shown above was the reason I switched from PCs to Macintoshes three years ago. Macintosh OS X was beautiful, intuitive and user-friendly……and it was UNIX! Plus Apple hardware is amazing today!