Dear Visitors,
If You Have Any Type Of Problems Like The Specific Tricks Doesn't Work,The Download Links Are Broken.Then Please Leave Your Comment On This Blog N I'm Reply All The Comments As Soon As Possible.


The Computer Tips Tricks Tutorials And Its Related Technology Are Spread In Many Different Websites.

All These Technology Are Dicussed Here.

Spice Up Ubuntu/Linux Terminal With Quotes

Terminal can be boring at times. What if we could add little fun factor to dull terminal? That is what I was wondering since last few days. On Ubuntu/Linux a dynamic message just like motd or to be precise a welcome message  can be displayed each time you start a terminal instance even when in GUI mode ( whereas /etc/motd message is shown only on tty or at remote logins.)

For example, greeting like in following image each time you start terminal :

Installation :
We are going to use two programs namely “fortune” which generates random quotes and “cowsay” which adds some pictures with bubble over its head, just like in cartoons published in newspapers.

sudo aptitude install fortune cowsay

Configuration :

Sample run of “fortune | cowsay -n”

If you wish to see messages like above but random ones each time you start a new Terminal, you have to edit /etc/bash.bashrc file. Open it with root privileges,

sudo gedit /etc/bash.bashrc
and add following lines at the end of the file

# Spicing up Terminal
fortune | cowsay -n
Open new Terminal instance and the quote/motd should be displayed.

Further Customization :
If you want to have static greeting message, add following at the end of /etc/bash.bashrc file

# Spicing up Terminal
cowsay YourTextHere
which produces :

cowsay comes with more fun pictures. The list can be found at /usr/share/cowsay/cows/

If you like any of above cartoons, then your modified line to be added in /etc/bash.bashrc file will be :

fortune | cowsay -n -f tux.cow

Enjoy your new spicy Terminal!



  1. kueidao said...

    It's actually wow gold quite simple rift platinum (in theory)...Obama can veto rift Gold appropriation bills until the cows come home but he can't rift platinum force Congress to add anything to the rift Gold bills by vetoing them. What rift platinum Obama can do is force a government shut down like Clinton rift platinum did in the '90s rift Gold as a way to bring pressure rift platinum on the Republicans rift Gold to add money in. Then the media arm of the DNC (aka ABC, CBS, NBC, etc) go into rift platinum action a show all the rift power leveling horrible things that happen when people don't get rift Gold their government money.
    louis vuitton handbags
    ffxiv gil,
    ffxiv gil,
    ffxiv gil,
    ffxiv gil,
    ffxiv gil,
    ffxiv gil,
    ffxiv gil,
    ffxiv gil,
    eq2 plat,
    eq2 gold,
    silkroad gold,
    wow gold,
    wow gold,
    wow power leveling,
    wow power leveling,
    runescape gold,
    runescape money,
    runescape account,

Post a Comment