10 more pointless (but awesome) Linux terminal tricks

linux terminal tricks

10 more pointless (but awesome) Linux terminal tricks

One year ago, I put together a list of my favorite “pointless but awesome” Linux terminal tricks—filled with such classics as making a cow talk with “cowsay” and rainbow-coloring your terminal with “lolcat.”  As was correctly pointed out to me at the time, there are a lot of ridiculous (but cool) things you can do in the terminal that didn’t make that list. So, here’s round two. You’re welcome. (Note: Some of these you will need to install using apt-get, zypper or whatever package manager your Linux distribution uses.)

linux telnet star wars

Telnet “Star Wars”

I’m 99 percent sure that every one of you has seen this. A full version of Star Wars Episode 4: A New Hope. Entirely in the terminal. And entirely via telnet. Simply pop open your terminal, type “telnet towel.blinkenlights.nl”, then sit back and enjoy this cinematic masterpiece in all its ASCII glory.

linux cal


This one dates all the way back to 1983—33 years ago—with the release of https://en.wikipedia.org/wiki/UNIX_System_V. The “cal” program, short for “calendar,” does exactly what you think it does. It displays a calendar. It has a handful of options (like what day a week starts on and what month to display) but only a handful.  Recommendation: pipe “cal” through “lolcat” (“cal | lolcat”) to spice things up a little bit.

linux yes


Clear your mind of what you think is possible. If you could imagine the most useful terminal command, what would it be? If you said “a command that repeated the same bit of text over and over again until the end of time,” you and the developer of “yes” have something in common! Type, simply ‘yes “repeat this text forever”’ and you’re in business! Again. “lolcat” makes everything better.

linux toilet


Take text, and make it bigger using a bunch of smaller characters. That’s toilet.  Typing ‘toilet “Yo, Dawg.”’ will get you the results you desire.

linux rig


In 1999, “rig” was born with a singular purpose—to generate fake identities.  From the man page (“man rig”): “It is suitable for such applications as feeding the NY times registration page to fend off junk (snail) mail and telemarketers, or for registering on BBS's to which you don't wish to reveal your real information.”

linux espeak


I love “espeak”. Take some text and speak it—with loads of options. Create a .wav file, customizable speaking speed, change the pitch—it’s just wonderful. Extra fun: You can feed content from a text file to read to you or pipe the output of another program into espeak. For example, “rig | espeak” will cause your computer to speak a random, fake person’s name and address. Why would you do that? Who knows. But it’s cool that you can.

linux hash


What if you want to see the exact number of times that you’ve run every single terminal program? Type “hash”. Note: This doesn’t count the number of times you pipe output through “lolcat.” This bums me out. Because if it did, my main machine might be breaking a world lolcat record right now.

linux asciiview


We’re going to get into some very debatable territory here in terms of “pointless-ness.” This program displays an ASCII-fied version of any image—with lots of options. I recommend using “asciiview picture.png -driver curses”. That’s what I do. And be sure to fire up “man asciiview” to see all of the options available.

linux htop


Admit it—“top” sucks. It’s OK—we’re all thinking it. Written in 1984, “top” is fine for getting some quick stats and finding a process ID. But it’s ugly and not exactly interactive. That’s where “htop” swoops in and saves the day. First released in 2004, “htop” is like “top” only you can move through the running tasks with your arrow keys and issue signals directly to them. It’s handy as all get out. And using this instead of a graphical system monitor will prove you’re one of the cool kids.

linux apropos


The final, and possibly most useful, terminal program on this list is the one that helps you to find other programs. Type “apropos” into your shell, and it will simply ask you: “apropos what?” Type “apropos picture”, and it will display the programs with man pages that have the word “picture” in their name or description. Handy as all get out if you’re trying to find the right tool to use—or goof off with.