≡ Menu

Display weather, finance stock, and translate a word from shell prompt

David Crouse has published a small set of cool bash functions that prints weather, stock etc.

From the Novell Cool Solution page:
Many times I prefer to just work from the shell. I wrote some functions for my .bashrc file that I thought I would share.

The .bashrc file is a great place to put functions if your using them regularly. Alternatively, you could alias the programs but since they are small, I don’t mind putting them in the .bashrc file just to keep it simple.

Here are a few of the functions I wrote.
weather ()
stock ()
translate ()
define ()

Download BASH: cool functions for your .bashrc file

Share this on:

Your support makes a big difference:
I have a small favor to ask. More people are reading the nixCraft. Many of you block advertising which is your right, and advertising revenues are not sufficient to cover my operating costs. So you can see why I need to ask for your help. The nixCraft, takes a lot of my time and hard work to produce. If you use nixCraft, who likes it, helps me with donations:
Become a Supporter →    Make a contribution via Paypal/Bitcoin →   

Don't Miss Any Linux and Unix Tips

Get nixCraft in your inbox. It's free:



{ 1 comment… add one }
  • Binny V A February 17, 2007, 5:34 am

    I use fish – not bash. I am going to rewrite the ‘define’ function for fish. That is the only function i will use in this list.

Leave a Comment