Secret easter eggs in Linux software.

Posted: April 20, 2016. At: 1:43 PM. This was 2 years ago. Post ID: 8890
Page permalink.
WordPress uses cookies, or tiny pieces of information stored on your computer, to verify who you are. There are cookies for logged in users and for commenters. These cookies expire two weeks after they are set.

There are a few Linux easter eggs out there.

VIM Douglas Adams quote.
VIM Douglas Adams quote.

The above screenshot shows the Douglas Adams quote in VIM. Type :42 in the command mode to get this quote.

The apt-command for Ubuntu, Debian and Mint has had an embedded easter egg for quite a while.

If you type the help command for apt-get, you will get a hint:

apt-get help
 
. . .
. . .
  -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.

Type this command to see a cool cowsay styled message.

[jason@darknet:~/Videos] apt-get moo
                 (__) 
                 (oo) 
           /------\/ 
          / |    ||   
         *  /\---/\ 
            ~~   ~~   
..."Have you mooed today?"...

Aptitude also has a cool easter egg…

ubuntu ~ $ aptitude -vvvvv moo
All right, you win.
 
                               /----\
                       -------/      \
                      /               \
                     /                |
   -----------------/                  --------\
   ----------------------------------------------

There is a cool easter egg in the nmap command, this prints the output as l33t script kiddie style.

ubuntu ~ $ nmap -6 -oS - ::1
 
$tarting Nmap 6.40 ( httP://nmap.0rg ) at 2016-04-20 03:32 utc
Nmap $can r3port for IP6-LocAlh0$t (::1)
H0ST |z up (0.00023s Lat3ncy).
N0T $hOwn: 998 CL0sed pORt$
P0RT   $TATe $eRv!C3
22/TCP OpeN  s$h
80/Tcp opEn  http
 
Nmap dOne: 1 !P adDrE$z (1 h0$t Up) $cAnnED in 0.05 sEcOnDs

fortune stegosaurus.

ubuntu ~ $ fortune | cowsay -f stegosaurus
 _________________________________________
/ Knucklehead: "Knock, knock" Pee Wee:    \
| "Who's there?" Knucklehead: "Little ol' |
| lady." Pee Wee: "Liddle ol' lady who?"  |
| Knucklehead: "I didn't know you could   |
\ yodel"                                  /
 -----------------------------------------
\                             .       .
 \                           / `.   .' "
  \                  .---.  <    > <    >  .---.
   \                 |    \  \ - ~ ~ - /  /    |
         _____          ..-~             ~-..-~
        |     |   \~~~\.'                    `./~~~/
       ---------   \__/                        \__/
      .'  O    \     /               /       \  "
     (_____,    `._.'               |         }  \/~~~/
      `----.          /       }     |        /    \__/
            `-.      |       /      |       /      `. ,~~|
                ~-.__|      /_ - ~ ^|      /- _      `..-'
                     |     /        |     /     ~-.     `-. _  _  _
                     |_____|        |_____|         ~ - . _ _ _ _ _>

Make a train roll across your screen.

ubuntu ~ $ sl

Another secret easter egg in VIM.

Type: :Ni! in the VIM command mode to get this easter egg.

A shrubbery.
A shrubbery.

No comments have been made. Use this form to start the conversation :)

Leave a Reply