Navigation

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

    Check the Weather from the Command Line

    News
    curl weather
    5
    9
    1552
    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.
    • mlnews
      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
      • Dashrender
        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.

        tonyshowoff scottalanmiller 2 Replies Last reply Reply Quote 0
        • tonyshowoff
          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
          • scottalanmiller
            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 ;)

            Dashrender 1 Reply Last reply Reply Quote 1
            • Dashrender
              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. :P

              scottalanmiller DustinB3403 2 Replies Last reply Reply Quote 1
              • scottalanmiller
                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.

                tonyshowoff 1 Reply Last reply Reply Quote 3
                • DustinB3403
                  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
                  • tonyshowoff
                    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.

                    scottalanmiller 1 Reply Last reply Reply Quote 0
                    • scottalanmiller
                      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
                      • First post
                        Last post