Radu Cotescu's professional blog

g33k w17h pa45510n

Bash Fun

Linux is awesome. I knew that! When you are completely bored and you have access to a terminal (and you are in the sudo-ers group) you can do this:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
[email protected]:~$ sudo apt-get install cowsay
Reading package lists... Done
Building dependency tree
Reading state information... Done
Suggested packages:
  filters
The following NEW packages will be installed:
  cowsay
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 0B/19.8kB of archives.
After this operation, 295kB of additional disk space will be used.
Selecting previously deselected package cowsay.
(Reading database ... 173410 files and directories currently installed.)
Unpacking cowsay (from .../cowsay_3.03-9.2_all.deb) ...
Processing triggers for man-db ...
Setting up cowsay (3.03-9.2) ...

Afterwards you could issue a command like this:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
[email protected]:~$ fortune | cowsay -n -f tux.cow
 __________________________________________________________________________
/ In the first place, God made idiots; this was for practice; then he made \
| school boards.                                                           |
\                 -- Mark Twain                                            /
 --------------------------------------------------------------------------
   \
    \
        .--.
       |o_o |
       |:_/ |
      //   \ \
     (|     | )
    /'\_   _/`\
    \___)=(___/

Or, if you have a sick humor:

1
2
3
4
5
6
7
8
9
10
11
[email protected]:~$ fortune | cowsay -n -f sodomized.cow
 ________________________________________________________
< You will have domestic happiness and faithful friends. >
 --------------------------------------------------------
      \                _
       \              (_)
        \   ^__^       / \
         \  (oo)\_____/_\ \
            (__)\       ) /
                ||----w ((
                ||     ||>>

Let me see how do you have that fun in Windows, suckers!

Linux, Ubuntu

« Google AdSense problem My resume in hResume format »

Comments