08 May, 2010

Spice your terminal with fortune telling cow and tux in Ubuntu

                              Usually working with the terminal for a long time is a boring task even if you are a geek. Let spice up your gnome terminal with some add-ons, say a cow speaking interesting fortunes. If you are familiar with linux mint, you can see it is an unavoidable feature in the mint's terminal.





. . . installation

Take the gnome terminal and type in as follows . . .

                                   $ sudo apt-get intall cowsay                                   

This is a very small package and the installation will commence in few seconds.


. . . configuration


Take the terminal and type as any of the following methodes


1.
$ cowsay

Then type the message that you want the cow to say and press  Ctrl+D to save and terminate. On pressing this key the cow will start speaking the fortunes.




2.

$ fortune | cowsay

On executing this command cow will display any of the fortune in random from a set of fortunes in the fortune database.




3.

$ fortune | cowsay -n -f -tux.cow

This command will replace the cow with the tux. See the tux saying fortunes instead of the cow.  

0 comments:

Post a Comment

speak out... itz your time !!!

 

Terminal Diary | techblog Copyright © 2009 Gadget Blog is Designed by jintu jacob Powered by Blogger