About nixCraft

Topics

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

Posted by Vivek Gite [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

Tell us how we're doing: Please answer a few questions about your experience to help us improve nixCraft.

You may also be interested in other helpful articles:

Discussion on This Article:

  1. Binny V A Says:

    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 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!

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

*
To prove you're a person (not a spam script), type the security word shown in the picture. Click on the picture to hear an audio file of the word.
Click to hear an audio file of the anti-spam word

Copyright © 2004-2008 nixCraft. All rights reserved - TOS/Disclaimer - Privacy policy - Sitemap - Powered by Open source software.