
tree command was created. As its name suggests, this lists the directory tree in graphical form. Click here to read more

tree command was created. As its name suggests, this lists the directory tree in graphical form. 
It’s amazing what can be done with letters and symbols. It goes way beyond simply displaying text. As a college student, hacking away at a VAX terminal in the early 90s, I (and many others) spent hours chuckling at the likes of cows.
“ASCII art”, as it became known, didn’t go away. It was just deprecated (Wikipedia has a good article). But it’s still available under Linux, even if you might have to rummage through your package repository to find it. And one of the most entertainingly useless ASCII art tools is figlet.

I didn’t fancy reinstalling my OSes again so decided to clone the older disk onto the new one. Here, as always, Linux came to my rescue, this time with the dd command.

There are a number of ways for a Linux client to deal with this kind of environment. Perhaps the best way is to create a SMB (Windows) mount that specifies an IP address, instead of a NetBIOS machine name. But for quick and dirty probing and usage of SMB shares, the smbclient application can be used.

Most Linux desktop environments offer the ability to burn a CD image straight from the desktop. Under GNOME you can right-click and select Write to Disk, for example. This is nifty but I prefer to write CDs straight from the command-line, using the cdrecord command.


If you find that your system is a little sluggish, hdparm is definitely worth investigating. This is the hard-disk tweaing tool of choice under Linux. It works from the command-line and offers full control over all hard disk settings.


If you’ve decided to make the switch then you might be interested in cal and ncal, two utilities that display month or year calendars.

For example, if you open a GNOME Terminal window, start a download with wget, and then quit the Terminal Window, the wget download will end too. This is annoying if you’re sometimes over-eager to clean up the desktop and quit terminal windows, like me!
If you access your computer across a remote session, perhaps via SSH, and want to run a program that will take a long time to complete, this can become seriously annoying. You have to stay logged in until the program has completed.
But getting around this is easy.

From an open source perspective PDF has good and bad points. It’s good in that it’s an open standard that’s freely implementable, but bad because it remains a proprietary format under the control of Adobe.
What’s little realized among Linux users is the sheer quantity of PDF tools available at the command line. Need to convert a PDF to HTML, text or postscript file? It’s easy when you know how.

You hear a commotion outside: Vehicles, dogs, soldiers. Carefully, you peer out of the window and see half of the Russian army on the street below. A soldier looks up lazily, catches your eye, and shouts something in Russian. Drat! They must have locked in on the signal!
You’ve got to destroy the data on the floppy disk before they get to you. You have to destroy the evidence. But how?

So here’s the first installment of my new series: Command-line gems. Over the coming days and weeks I’ll pick out a handful of command-line programs that are useful or simply entertaining. Most of them come installed by default on most modern Linuxes.