Check the Weather from the Command Line
-
In the Linux world, cURL is ubiquitous, but is not a default package on Windows. You will need to add the cURL utility to Windows in order to do this.
curl http://wttr.in/your_city
-
what are the settings I should set my Windows command prompt to to get that view? Currently using curl on Windows, I just get garbage.
-
@Dashrender There aren't any. The best you can do is probably:
https://github.com/adoxa/ansicon/
Like most things, Microsoft does not natively support ANSI colours.
-
@Dashrender said:
what are the settings I should set my Windows command prompt to to get that view? Currently using curl on Windows, I just get garbage.
You can connect from PuTTY to a better OS that is easier to use
-
@scottalanmiller said:
@Dashrender said:
what are the settings I should set my Windows command prompt to to get that view? Currently using curl on Windows, I just get garbage.
You can connect from PuTTY to a better OS that is easier to use
When connecting from PuTTY, what would I be connecting to? Currently BASH isn't available with a SSH connection on Windows 10.
nevermind - I didn't understand the second part of your sentence until after I wrote my question.
-
@Dashrender said:
@scottalanmiller said:
@Dashrender said:
what are the settings I should set my Windows command prompt to to get that view? Currently using curl on Windows, I just get garbage.
You can connect from PuTTY to a better OS that is easier to use
When connecting from PuTTY, what would I be connecting to? Currently BASH isn't available with a SSH connection on Windows 10.
Linux of course. Windows is the problem. Bypass it.
-
@Dashrender He's saying use putty to connect to a linux box (IE a VM)
-
@scottalanmiller said:
@Dashrender said:
@scottalanmiller said:
@Dashrender said:
what are the settings I should set my Windows command prompt to to get that view? Currently using curl on Windows, I just get garbage.
You can connect from PuTTY to a better OS that is easier to use
When connecting from PuTTY, what would I be connecting to? Currently BASH isn't available with a SSH connection on Windows 10.
Linux of course. Windows is the problem. Bypass it.
Ronald Reagan should've said that.
-
@tonyshowoff said:
@scottalanmiller said:
@Dashrender said:
@scottalanmiller said:
@Dashrender said:
what are the settings I should set my Windows command prompt to to get that view? Currently using curl on Windows, I just get garbage.
You can connect from PuTTY to a better OS that is easier to use
When connecting from PuTTY, what would I be connecting to? Currently BASH isn't available with a SSH connection on Windows 10.
Linux of course. Windows is the problem. Bypass it.
Ronald Reagan should've said that.
He probably did.