Home » Categories » Multiple Categories |
Top 10 Linux Easter Eggs |
Article Number: 271 | Rating: Unrated | Last Updated: Sat, Jan 4, 2014 at 3:30 AM
|
Not a Definitive List...Linux has a history of including some fun "easter eggs" in its software. In this article, we'll tell you about some fun commands and options to lighten up your day. Not all of them are "easter eggs", but we think you'll enjoy them none-the-less. Text EditorsVim and Douglas AdamsThose of you familiar with Douglas Adams, writer of The Hitchhiker's Guide to the Galaxy, will appreciate a relevant help option included in the vim text editor. If you haven't already, install vim. In Ubuntu/Debian, you can type:
In CentOS/Fedora, you can type:
Open the editor from the command line:
Type the following to access a special vim help menu:
Type the following, twice, to exit vim:
Emacs GamesNot to be outdone, Emacs, the text-editor famous for including everything but the kitchen sink, includes a surprising number of games that can be accessed from within the editor itself. First, install emacs. On Ubunut/Debian, this would be:
On CentOS/Fedora, execute this command instead:
You can find out what games are available by checking out this directory:
To execute them, open Emacs:
Next, type the
To quit Emacs when you are finished, type
Apt CommandsApt-get CowsOn Ubuntu and Debian, the If you type the help command for apt-get, you will get a hint:
. . . . . . -c=? Read this configuration file -o=? Set an arbitrary configuration option, eg -o dir::cache=/tmp See the apt-get(8), sources.list(5) and apt.conf(5) manual pages for more information and options. This APT has Super Cow Powers. The last line tells us that the easter egg is active in this version of apt. Type:
Aptitude Cows?With apt-get's affinity for cows, users may be curious as to whether We can check the help like before:
. . . . . . -u Download new package lists on startup. (terminal interface only) -i Perform an install run on startup. (terminal interface only) This aptitude does not have Super Cow Powers. Well that is disappointing. Let's try it anyways though:
A fairly straight forward answer. But persistence is important. Let's add some verbosity:
And again...:
If you keep adding more "verbosity", you will eventually get this:
It doesn't look like too much. Let's add another "v":
This is a reference to the book The Little Prince by Antoine de Saint-Exupéry. Strange Options for Common ProgramsThere are some strange options available in some common programs that you may wish to check out. Insult Users with SudoYou can configure To do so, edit the sudoers file with a tool called
Near the top, add a line that reads:
Save and close the file. Next, empty the cache that stores your password for a certain amount of time and then mistype your password for a sudo command:
[sudo] password for demo: # Type an incorrect password hereHave you considered trying to match wits with a rutabaga? [sudo] password for demo: My pet ferret can type better than you! [sudo] password for demo: Wrong! You cheating scum! Script Kiddie Output for NmapNmap is a commonly used network exploration tool that can be used to perform security audits on your system. Install it on Ubuntu/Debian with the following command:
On CentOS/Fedora, install it by entering:
Nmap provides you with the unusual option of being able to output its data in "script kiddie" format. Let's see what the normal output looks like first, by running the command against the Nmap website itself:
Now, let's enable the alternate output with these options:
Basically, it replaces certain letters with similar looking characters to emulate "hacker" language or leet-speak. Command-line Star WarsThere are two different network-reachable, command line Star Wars tributes accessible from your terminal. ASCII Art Star Wars Through TelnetSimon Jansen, Sten Spans, and Mike Edwards created a full Star Wars tribute in ASCII (text) animated art accessible through telnet. In layman's terms: you can watch a text version of Star Wars in your terminal! First, download On Ubuntu/Debian:
On CentOS/Fedora:
All you have to do from here is point telnet to the correct server:
When you've had enough, hold
Star Wars TracerouteA newer tribute to Star Wars has been achieved by Ryan Werber by naming the network hops to a specific address. If you run Simply type:
The route will begin to populate. After a few stops, you will begin to see the magic:
After going through the introductions to Episodes IV, V, and VI, Ryan then continues with other avenues of entertainment:
Installing More FunThere are a few programs that you probably don't need for any other purpose, but can be fun if you have some time. Learn from your TyposIf you've ever accidentally typed On Ubuntu/Debian:
On CentOS/Fedora:
Now, whenever you accidentally type "sl" instead of "ls", you'll have to smile:
A train will chug across your screen each time. Fun with Cowsay and FortuneIf you need some more cheap amusement at the command line, and didn't get your fill of cows from the "apt" easter egg, you can download On Ubuntu/Debian:
One CentOS/Fedora:
Cowsay inserts any input into a word bubble and draws an ASCII cow to talk to you:
The fortune program spits out quotations, fortunes, jokes, nonsense that can be piped into cowsay:
If you're not too fond of cows, you can get other characters as well:
For a full list of the available characters, type:
My personal favorite is the stegosaurus:
As you can see, not very useful, but pretty fun. ConclusionThis guide probably didn't impart any essential knowledge or improve your Linux abilities, but hopefully it helped you relax and perhaps even explore your system a little bit. Let us know in the comments if you have any other good easter eggs or unusual, fun commands. |
Attachments
There are no attachments for this article.
|
How To Install Ruby on Rails on CentOS 6
Viewed 3052 times since Tue, Dec 31, 2013
How To Install And Run A Node.js App On Centos 6.4 64bit
Viewed 10406 times since Sun, Dec 29, 2013
How To Create Nagios Plugins With Ruby On CentOS 6
Viewed 2909 times since Sat, Jan 4, 2014
Initial Server Setup with CentOS 6
Viewed 2170 times since Thu, Dec 26, 2013
How To Install Wordpress on Centos 6
Viewed 2279 times since Tue, Dec 31, 2013
How to Setup a Multi-Protocol VPN Server Using SoftEther
Viewed 9582 times since Thu, Jan 2, 2014
How To Create Nagios Plugins With Bash On Ubuntu 12.10
Viewed 2135 times since Sat, Jan 4, 2014
How To Create a SSL Certificate on Apache for CentOS 6
Viewed 2193 times since Tue, Dec 31, 2013
How To Install Wordpress on Ubuntu 12.04
Viewed 2610 times since Tue, Dec 24, 2013
Initial Server Setup with Debian 7
Viewed 3676 times since Fri, Dec 27, 2013
|