Get weather information from the command line in Linux.

Printing information about the weather on the command line is quite easy on Linux. One way is using the finger(1) command to retrieve a forecast for a certain city. ┌──(john㉿DESKTOP-PF01IEE)-[~] └─$ finger [email protected] -= Meteogram for Sydney, New South Wales, Australia =- ‘C Rain (mm) 25 24 23 ^^^ 22 ===^^^^^^ ===^^^ 21=== ^^^=–=–=–=–=– 20 … Read more

MATE weather applet on Ubuntu 18.04 not working. This is how to fix it.

The MATE weather applet on Ubuntu 18.04 was not working on my Ubuntu 18.04 installation. This is how I fixed it with a simple patch. sudo sed -i ‘s|https://www.aviationweather.gov/adds/dataserver_current/httpparam|https://www.aviationweather.gov/adds/dataserver1_3/httpparam\x0\x0\x0\x0\x0|’ /usr/lib/x86_64-linux-gnu/libmateweather.so.1sudo sed -i ‘s|https://www.aviationweather.gov/adds/dataserver_current/httpparam|https://www.aviationweather.gov/adds/dataserver1_3/httpparam\x0\x0\x0\x0\x0|’ /usr/lib/x86_64-linux-gnu/libmateweather.so.1 The patch above will fix the libmateweather library. Then the applet will work. Log out and back into the MATE desktop … Read more

Interesting Linux commands that might be very useful.

List only directories with the Linux command line. This lists a directory with all folders listed first, then return only the listing of folders in the directory. 4.4 Tue Oct 09 jason@Yog-Sothoth 0: $ ls –color=auto –group-directories-first -Hul | head -n `echo */ | wc -w` total 3866624 drwxrwxrwx+ 6 jason jason 4096 Oct 9 … Read more

How to get weather information with curl on Linux.

The curl command on Linux may be used to get weather information from the Internet. The curl wttr.in/”new york” command will retrieve weather information from wttr.in. [jason@darknet:~] curl wttr.in/"new york" Weather for City: New York, United States of America   \ / Clear .-. 6 – 8 °C ― ( ) ― ↓ 9 km/h … Read more

How to get the weather forecast for your US postcode using the weather command.

Getting the weather forecast for your US postcode is very simple when you are running either Ubuntu or Linux Mint. The weather-util package contains the weather command that makes this possible. Use this command to install the weather-util package. sudo apt-get install weather-utilsudo apt-get install weather-util This is the output that you get when you … Read more

How to get the weather report from the command-line in America with Linux and other cool commands.

This is how to get the weather report for any American zip code with the Linux command-line. Type sudo apt-get install weather-util to install this utility on Linux Mint 14. In this example we are checking New York City. john@adeptus-mechanicus ~ $ weather 10001 Current conditions at New York City Central Park, NY Last updated … Read more