Get International Space Station sighting information for your city

links -dump "http://spaceflight.nasa.gov/realdata/sightings/cities/view.cgi?country=United_States&region=Wisconsin&city=Portage" | sed -n '/--/,/--/p'
This command outputs a table of sighting opportunities for the International Space Station. Find the URL for your city here: http://spaceflight.nasa.gov/realdata/sightings/
Sample Output
   --------------------------------------------------------------------------

     THE FOLLOWING ISS SIGHTINGS ARE POSSIBLE FROM SUN MAY 01 TO MON MAY 16

    SATELLITE      LOCAL      DURATION   MAX ELEV     APPROACH    DEPARTURE   
                 DATE/TIME     (MIN)       (DEG)     (DEG-DIR)    (DEG-DIR)   

     ISS   Sun May 01/08:54 PM      3      40   27 above NNW   13 above E     
     ISS   Sun May 01/10:28 PM     < 1     16   11 above W     16 above W     
     ISS   Mon May 02/09:18 PM      2      74   32 above WNW   31 above SE    
     ISS   Tue May 03/09:41 PM      3      23   11 above W     21 above SSW   
     ISS   Wed May 04/08:31 PM      4      72   41 above WNW   10 above SE    
     ISS   Thu May 05/08:55 PM      4      22   15 above W     10 above S     

                ONLY DAYS WITH SIGHTING OPPORTUNITIES ARE LISTED

               This data last updated on 3 May 2011 06:58:58 GMT

   --------------------------------------------------------------------------

5
2011-05-03 12:15:56

What Others Think

cool factor of +3
Habitual · 393 weeks and 1 day ago
You can substitute 'w3m' for 'links'. If you use 'lynx', you will want to add the '-nolist' option.
Mozai · 392 weeks and 1 day 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: