Views:
150,555β
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:
September 15, 2024
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?
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.