Displaying Random Quote each time opening terminal

           After couple of days at my newly joined office where Every PC runs on Linux. Even Marketing and sales department (We love Open Source), One of my co-worker asked me to write him a code such that every time someone opens a terminal, an inspirational message will be displayed.
           I ended up with a small script which displays a randomly selected message from array of Inspirational Quotes. (Of Course with some help from quora)

ScreenShot :

Inspirational Terminal

Inspirational Terminal

Add the following code at the end of your ~/.bashrc file
open terminal > gedit ~/.bashrc > copy paste > save & exit.

Code can be found here
Github

Comments and ratings are appreciated.

Fork me on GitHub

When c starts getting funny strlen vs sizeof

Some things are too obvious to notice, so i thought you should not also fall for this.
1 Star2 Stars3 Stars4 Stars5 Stars (3 votes, average: 5.00 out of 5)
Loading...Loading...

whereas:

 

I hope you got the point !

Get the source code here.
GitHub