check the fucking weather

ZIP=48104; curl http://thefuckingweather.com/?zipcode=$ZIP 2>/dev/null|grep -A1 'div class="large"'|tr '\n' ' '|sed 's/^.*"large" >\(..\)/\1/;s/&d.* <br \/>/ - /;s/<br \/>//;s/<\/div.*$//'
grab the weather, with a little expletive fun. replace the 48104 with a US zipcode, or the name of your city (such as ZIP="oslo"), unless you want to know what the weather is like for me (and that's fine too)
Sample Output
70 - ITS FUCKING NICE

1
2009-08-29 19:33:35

What Others Think

doesn't work in Germany ...
verboEse · 675 weeks and 2 days ago
For CELSIUS ZIP="Taipei"; curl "http://thefuckingweather.com/?zipcode=${ZIP}&CELSIUS=yes" 2>/dev/null|grep -A1 'div class="large"'|tr '\n' ' '|sed 's/^.*"large" >\(..\)/\1/;s/&d.* <br \/>/ - /;s/<br \/>/ /;s/<\/div.*$//'
unixmonkey5406 · 675 weeks ago
that's pretty fuckin nice! thanks a fuckin lot!
stealyourwife · 655 weeks ago
I high appreciate this post. It’s hard to find the good from the bad sometimes, but I think you’ve nailed it! would you mind updating your blog with more information? laundry chute fusible link
Audrey10 · 2 weeks and 4 days ago
That is very educational content and written well for a change. It's nice to note that many people still discover how to write an excellent post.! taruhan bola online terpercaya
KayGasaway · 6 days ago
For further details, see VIVES ranking, the degree levels and areas of research matrix below from Topuniversitieslist. uttara university ranking
goxah55535 · 4 days ago
Take a look at some of the most popular Georgian baby names. When attempting to adhere to Georgian culture, the origin of a name is frequently crucial. read more
fomajob · 4 days ago
Raptor is a luxury service brand. We are a Veteran owned and operated windows & eaves cleaning business in GTA, Ontario. Raptor Window Cleaning
gexeji53 · 4 days ago
Have you recently bought a new iPhone? Have you tried to set it up and been frustrated by the iOS setup assistant? If so, you’re not alone. iOS setup assistant
nakav51247 · 4 days ago

What do you think?

Any thoughts on this command? Does it work on your machine? Can you do the same thing with only 14 characters?

You must be signed in to comment.

What's this?

commandlinefu.com is the place to record those command-line gems that you return to again and again. That way others can gain from your CLI wisdom and you from theirs too. All commands can be commented on, discussed and voted up or down.

Share Your Commands



Stay in the loop…

Follow the Tweets.

Every new command is wrapped in a tweet and posted to Twitter. Following the stream is a great way of staying abreast of the latest commands. For the more discerning, there are Twitter accounts for commands that get a minimum of 3 and 10 votes - that way only the great commands get tweeted.

» http://twitter.com/commandlinefu
» http://twitter.com/commandlinefu3
» http://twitter.com/commandlinefu10

Subscribe to the feeds.

Use your favourite RSS aggregator to stay in touch with the latest commands. There are feeds mirroring the 3 Twitter streams as well as for virtually every other subset (users, tags, functions,…):

Subscribe to the feed for: