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

last updated in Categories Linux, Shell scripting, UNIX

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, DevOps engineer, and a trainer for the Linux operating system/Unix shell scripting. Get the latest tutorials on SysAdmin, Linux/Unix and open source topics via RSS/XML feed or weekly email newsletter.

1 comment

  1. 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.

    Have a question? Post it on our forum!