weather script
Adil Kodian
akodian-Re5JQEeQqe8AvxtiuMwx3w at public.gmane.org
Thu Sep 16 18:42:13 UTC 2004
On Thu, 16 Sep 2004 14:31:05 -0400, David J Patrick
export PS1="Current temp: $(wget -nv -q -O -
http://weather.noaa.gov/weather/current/CYXD.html|grep 'C)' |head -1 |
awk '{print $5}' |tr -d '(') >"
put this one line in your .bashrc then you get the current temperature
whenever you log on ! Of course this is edmonton temperature - you can
get the same for toronto.
--
The Toronto Linux Users Group. Meetings: http://tlug.ss.org
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://tlug.ss.org/subscribe.shtml
More information about the Legacy
mailing list