Fun on Terminal

My Friend Santosh Kumar showed me this trick. Its really fun to see the cowsay and fortune app together doing the magic.

Look at the below image ! 🙂

Cowsay2

 

 

cowsay1

 

To do the following you need to install fortune-mod and cowsay in your Ubuntu machine.
sudo apt-get install fortune-mod
sudo apt-get install cowsay
Then copy the below line and paste it in your .bashrc file.

vi ~/.bashrc
/usr/games/fortune | cowsay -f www | sed -e 's/^/\t/'
:wq
bash

 

That’s it . 🙂 Try this and see. Have fun 🙂

Thanks ,

Karthik

 

Advertisements

One thought on “Fun on Terminal

ನಿಮ್ಮದೊಂದು ಉತ್ತರ

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s