Get A Quick Weather Forecast With A Terminal Command

Get A Quick Weather Forecast With A Terminal Command

Mac: When it comes to weather forecasts, you have hundreds of options for getting a forecast. But if you prefer to never leave the command line, OS X Daily points out a simple command that will snag today’s forecast for you, no extra software required.

All you’ll need to do is use the finger protocol to ping a server. Open up your command line tool of choice, then type in the following command, substituting your city’s name in place of “city”:

finger [email protected]

For example, to get the forecast for Los Angeles, you’d type in:

finger [email protected]

With that, you’ll get a daily forecast in Celsius. If you’d prefer a prettier forecast, Wego is much snazzier looking or you can make a quick script that simplifies the information better than graph.no does.

Get Weather Reports from the Command Line with finger [OS X Daily]


The Cheapest NBN 50 Plans

Here are the cheapest plans available for Australia’s most popular NBN speed tier.

At Lifehacker, we independently select and write about stuff we love and think you'll like too. We have affiliate and advertising partnerships, which means we may collect a share of sales or other compensation from the links on this page. BTW – prices are accurate and items in stock at the time of posting.

Comments


3 responses to “Get A Quick Weather Forecast With A Terminal Command”