ML
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    Check the Weather from the Command Line

    News
    curl weather
    5
    9
    2.0k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • mlnewsM
      mlnews
      last edited by

      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
      

      0_1460182285283_Screenshot from 2016-04-09 09:07:45.png

      1 Reply Last reply Reply Quote 4
      • DashrenderD
        Dashrender
        last edited by

        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.

        tonyshowoffT scottalanmillerS 2 Replies Last reply Reply Quote 0
        • tonyshowoffT
          tonyshowoff @Dashrender
          last edited by

          @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.

          1 Reply Last reply Reply Quote 1
          • scottalanmillerS
            scottalanmiller @Dashrender
            last edited by

            @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 😉

            DashrenderD 1 Reply Last reply Reply Quote 1
            • DashrenderD
              Dashrender @scottalanmiller
              last edited by Dashrender

              @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. 😛

              scottalanmillerS DustinB3403D 2 Replies Last reply Reply Quote 1
              • scottalanmillerS
                scottalanmiller @Dashrender
                last edited by

                @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.

                tonyshowoffT 1 Reply Last reply Reply Quote 3
                • DustinB3403D
                  DustinB3403 @Dashrender
                  last edited by

                  @Dashrender He's saying use putty to connect to a linux box (IE a VM)

                  1 Reply Last reply Reply Quote 0
                  • tonyshowoffT
                    tonyshowoff @scottalanmiller
                    last edited by

                    @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.

                    scottalanmillerS 1 Reply Last reply Reply Quote 0
                    • scottalanmillerS
                      scottalanmiller @tonyshowoff
                      last edited by

                      @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.

                      1 Reply Last reply Reply Quote 0
                      • 1 / 1
                      • First post
                        Last post