Server Gigabit Guide

Playful Side of Linux: A Journey Through 10 Delightful Easter Eggs

You are here:
Estimated reading time: 3 min

Linux, renowned for its power and versatility, also harbors a playful side brimming with hidden surprises known as “Easter eggs.” These Easter eggs, tucked away within the Linux operating system, offer a touch of humor and entertainment to your command-line adventures. Embark on a quest to uncover the top 10 coolest Linux Easter eggs, accompanied by step-by-step instructions to activate them.

1. The Fortune Command: A Dose of Wisdom and Wit

Our expedition begins with the ‘fortune’ command, a delightful feature that delivers thought-provoking quotes and humorous sayings. To unleash this hidden gem, follow these steps:

  1. Install the fortune-mod package using the command: apt install fortune-mod

  2. On Debian, enable the fortune command by adding an alias to your bashrc file:

    a. Open the bashrc file with the nano editor: nano ~/.bashrc

    b. Add the following line at the end of the file: alias fortune="/usr/games/fortune"

    c. Save the file with [CTRL]+[O] and exit the editor with [CTRL]+[X]

    d. Reload the file to apply the changes: source ~/.bashrc

  3. Now, type the command: fortune to receive a random quote or joke.

  4. The output might look like this:

Top 10 Linux Easter Eggs (fortune command)

2. Cowsay: The ASCII Cow Speaks

Next up, encounter the adorable ASCII cow, courtesy of the ‘cowsay’ program. This Easter egg transforms your messages into amusing ASCII art.

  1. Install cowsay using the command: apt install cowsay

  2. Run the program with the message you want to display: cowsay "Hello, Linux!"

  3. Witness the ASCII cow present your message in a speech bubble

  4. The output looks like this:

Top 10 Linux Easter Eggs (Cow say)

You’ll see a cute cow saying your message in a speech bubble. It’s a fun way to communicate in the terminal.

3. Secret Games: Snake and Tetris

Linux holds secret games, including the classic Snake and Tetris. Unleash these hidden gems for a quick gaming break:

Snake:

  1. Install Snake using the command: apt install bsdgames

  2. If using Ubuntu, simply execute: snake to start the game.

  3. On Debian, create an alias in your bashrc file:

    a. Open the bashrc file with nano: nano ~/.bashrc

    b. Add the following line at the end: alias snake="/usr/games/snake"

    c. Save the file, exit the editor, and reload the changes: source ~/.bashrc

  4. Enjoy a game of Snake by typing: snake

Tetris:

  1. Install Tetris using the command: apt install bastet

  2. If using Ubuntu, play Tetris with the command: bastet

  3. On Debian, create an alias in your bashrc file:

    a. Open the bashrc file with nano: nano ~/.bashrc

    b. Add the following line at the end: alias bastet="/usr/games/bastet"

    c. Save the file, exit the editor, and reload the changes: source ~/.bashrc

  4. Engage in a Tetris battle with the command: bastet

  5. Now you will be able to play Tetris in your terminal as well by using the bastet command.
Top 10 Linux Easter Eggs (tetris)

4. Vim & The Meaning of Life: An Ode to Hitchhiker’s Guide to the Galaxy

The Vim 42 Easter egg pays homage to Douglas Adams’ science fiction series “The Hitchhiker’s Guide to the Galaxy,” where the number 42 holds significance as the “Answer to the Ultimate Question of Life, the Universe, and Everything.

  1. Open your terminal and type: vim +h42

  2. Press Enter, and Vim will open with the help documentation.

  3. Locate the section humorously connecting the number 42 to Vim.

Top 10 Linux Easter Eggs (vim 42)

5. The Rev Command: Reverse the World

Experience a playful quirk with the ‘rev’ command, which reverses text.

  1. Type: echo "Linux" | rev

  2. Observe the output, “xinuL,” revealing Linux from a different perspective.

6. The Sl Command: A Train Chugs Through Your Terminal

Add a touch of whimsy with the ‘sl’ command, a playful misspelling of ‘ls’ that conjures a train traversing your terminal.

  1. Install sl if necessary: apt install sl

  2. If using Ubuntu, execute: sl to witness the train’s journey.

  3. On Debian, create an alias in your bashrc file:

    a. Open the bashrc file with nano: nano ~/.bashrc

    b. Add the following line at the end: alias sl="/usr/games/sl"

    c. Save the file, exit

7. Apt & The Cow: A Vocal Response to Package Requests

When using the ‘apt’ command to install packages in Debian-based systems, introduce some fun by typing: apt moo

  1. Keep adding “moos” to witness the playful message emerge.

8. ASCII Art Banner: Create Eye-Catching Terminal Messages

This Easter egg transforms your messages into ASCII art banners.

  1. Install the banner package using the command: apt install sysvbanner

  2. Create an ASCII art banner with the command: banner "Server Gigabit"

  3. You’ll see your message turned into a large ASCII art banner, adding a distinctive touch to your terminal.

9. The “Robot-Finds-Kitten” Game: A Treasure Hunt in Your Terminal

Engage in Linux’s own version of the “find the hidden object” game called “Robot Finds Kitten.”

  1. Install the game on your server using the command: apt install robotfindskitten

  2. Open your terminal and type: robotfindskitten

  3. Navigate through the terminal to locate the hidden kitten.

10. The “bb” Command: A Blast from the Past with 3D Text and Graphics

Travel back to the early days of computer graphics with the nostalgic “bb” command.

  1. Install the package using the command: apt install bb

  2. Execute the command: bb to embark on a journey into retro 3D graphics.

Conclusion 

Linux extends beyond commands and code; it embraces creativity and fun. These Easter eggs highlight the human side of the Linux community, adding a touch of humor and entertainment to your command-line adventures. Explore the vast array of hidden gems waiting to be discovered, immersing yourself in the playful spirit that thrives within the world of Linux.

Was this article helpful?
Dislike 0
Views: 12