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

Posted on in Categories Linux, Shell scripting, UNIX last updated February 15, 2007

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

Posted by: Vivek Gite

The author is the creator of nixCraft and a seasoned sysadmin and a trainer for the Linux operating system/Unix shell scripting. He has worked with global clients and in various industries, including IT, education, defense and space research, and the nonprofit sector. Follow him on Twitter, Facebook, Google+.

1 comment

Leave a Comment