The Cookie Machine - Click here to drag window

DUMMY TEXT - Real text set in assets/js/theCookieMachine.js

Views: 129,157β€…    Votes:  2β€…
Tag : command-line  
Link: πŸ” See Original Answer on Ask Ubuntu πŸ”—

URL: https://askubuntu.com/q/1035779
Title: Weather from terminal
ID: /2018/05/13/Weather-from-terminal
Created: May 13, 2018
Upload: November 24, 2022    Layout:  post
TOC: false    Navigation:  false    Copy to clipboard:  false


You can compare cities using:

diff -Naur <(curl -s http://wttr.in/london ) <(curl -s http://wttr.in/new-york )

as illustrated in the top-voted answer. wttr.in also makes a great β€œsplash” screen every time you open the terminal. Do this by adding it to your ~/.bashrc file. I’ve done that to include Weather, Date, Time and Distribution information as detailed in this answer: Terminal splash screen with Weather, Calendar, Time & Sysinfo?

Bash Splash in Windows 10.png

Sorry I was in Ubuntu in Windows 10 WSL for Spring 2018 updates when I captured this image. Promise I’ll boot back into Ubuntu in Linux soon.

⇧ windows control button bug Uninstalling netspeed indicator  β‡©