Friday, March 29, 2024

Tip of the Trade: Linux Easter Egg Fun

Datamation content and product recommendations are editorially independent. We may make money when you click on links to our partners. Learn More.

For lo these many years here on ServerWatch’s Tip of the Trade, we have toiled to bring you useful tips and tricks to make your job a little easier, and to help you keep up with new applications and useful products. This week, in celebration of summer and the holiday week in United States, we decided to take a minibreak from the serious and bring you some Linux Easter Egg fun.

Debian users have long had the reliable Super Cow Powers of apt, which you can see by running the apt command with no options. Then, try this option:

$ apt-get moo
         (__)
         (oo)
   /------/
  / |    ||
 *  /---/
    ~~   ~~
...."Have you mooed today?"...

That’s probably going to get dull after a few dozen repetitions, so fire up cowsay to express your own creativity:


$ cowsay 'Tip of the Trade rocks!'

 _________________________

 -------------------------
           ^__^
           (oo)_______
            (__)       )/
                ||----w |
                ||     ||

Of course, modern system administrators prefer aptitude, which is very serious and leaves no time for frivolity:

$ aptitude moo

There are no Easter Eggs in this program.
carla@xena:~$ aptitude -v moo

There really are no Easter Eggs in this program.
carla@xena:~$ aptitude -vv moo
Didn't I already tell you there are no Easter Eggs in this program?

Keep adding v switches to see the rest. The ddate command gives you the date in the Discordian date format:

$ ddate

Today is Boomtime, the 31st day of Confusion in the YOLD 3174

ddate will convert any date for you, in day-month-year order:

$ ddate 8 6 1957
Prickle-Prickle, Confusion 13, 3123 YOLD

man ddate lists a whole raft of additional options.

OpenOffice’s spreadsheet, Calc, has a StarWars Galaxy game hidden in it, which looks like Galaga. Enter =Game(“StarWars”) in any cell. After closing the game, enter =Game(“StarWars”) again, and you’ll get a different response.

The Gnome desktop has a couple of amusements. Hit Alt+F2 to bring up the Run dialog, and enter free the fish. When you get tired of that, enter killall gnome-panel, and then try gegls from outer space.

There, now don’t you feel refreshed and more productive?

This article was first published on ServerWatch.com.

Subscribe to Data Insider

Learn the latest news and best practices about data science, big data analytics, artificial intelligence, data security, and more.

Similar articles

Get the Free Newsletter!

Subscribe to Data Insider for top news, trends & analysis

Latest Articles