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
You may also be interested in other helpful articles:
- Download of the day: Linux Weather wallpaper
- Linux Success Story: New York Stock Exchange Moves to Linux
- How to debug a Shell Script under Linux or UNIX
- Shell script to open files based on date
- Security: Shell script optimization and security tips
Discussion on This Article:
Leave a Reply
We encourage your comments, and suggestions. But please stay on topic, be polite, and avoid spam. Thank you very much for stopping by our site!


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.