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

    What Can BASH on Windows Do?

    IT Discussion
    windows bash wls
    11
    53
    12.4k
    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.
    • DashrenderD
      Dashrender @scottalanmiller
      last edited by

      @scottalanmiller said:

      @Dashrender said:

      See this is where I am totally lost.. what is the different between BASH and KRoN and PowerShell? what makes them different?

      Syntax, features and behaviour.

      Why would syntax be different?
      I don't know what you mean by features?
      and behavior - ok that one I understand - in Windows for example you get the are you sure you want to delete but in BASH if there is no error you get no feedback.

      scottalanmillerS 3 Replies Last reply Reply Quote 0
      • scottalanmillerS
        scottalanmiller @Dashrender
        last edited by

        @Dashrender said:

        Why would syntax be different?

        Because different languages have different syntax. Ever used two different programming languages? That's all shells are.

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

          @Dashrender said:

          I don't know what you mean by features?

          History, command completion, short cuts, loops... all the things that different languages have and their REPLs.

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

            @Dashrender said:

            and behavior - ok that one I understand - in Windows for example you get the are you sure you want to delete but in BASH if there is no error you get no feedback.

            While that is true, that's only sometimes the shell. If something is asking, likely that is the app itself.

            1 Reply Last reply Reply Quote 0
            • stacksofplatesS
              stacksofplates @scottalanmiller
              last edited by stacksofplates

              @scottalanmiller said:

              @Dashrender said:

              I don't know what you mean by features?

              History, command completion, short cuts, loops... all the things that different languages have and their REPLs.

              http://mugurel.sumanariu.ro/wp-content/uploads/2008/06/bash.png

              ctrl+r is the greatest thing ever.

              travisdh1T 1 Reply Last reply Reply Quote 3
              • travisdh1T
                travisdh1 @stacksofplates
                last edited by

                @johnhooks said:

                ctrl+r is the greatest thing ever.

                Can't possibly up vote enough!

                1 Reply Last reply Reply Quote 1
                • stacksofplatesS
                  stacksofplates
                  last edited by stacksofplates

                  I also do ctrl+d every time I'm using the cli on Windows, and I look like an idiot. Never fails.

                  I noticed that image says ctrl+d is delete. It's always logout for me, not sure what they're talking about. It is old though.

                  1 Reply Last reply Reply Quote 1
                  • RomoR
                    Romo
                    last edited by

                    I believe its actually called Bash on Ubuntu on Windows, all the people calling it Bash on Windows are wrong and giving a wrong meaning for many. Bash doesn't run on Windows ala Cygwin, bash is running on a ubuntu image that talks to WLS

                    https://i.imgur.com/YYzbt5A.png

                    Here is a video of some of the things you can do with it.

                    Youtube Video

                    As the video shows, it is mainly targetted at developers.

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

                      @Romo said:

                      I believe its actually called Bash on Ubuntu on Windows, all the people calling it Bash on Windows are wrong and giving a wrong meaning for many. Bash doesn't run on Windows ala Cygwin, bash is running on a ubuntu image that talks to WLS

                      Almost. BASH runs on the WLS which is sometimes confusingly called "Ubuntu on Windows" as a product name. You have to be VERY careful, this is where brilliant marketing people come in.... it's NAME is "Ubuntu on Windows" but there is no Linux kernel so it is neither Linux nor Ubuntu running, ever. There is no Ubuntu running on Windows, just something with a name meant to imply that.

                      RomoR 1 Reply Last reply Reply Quote 1
                      • RomoR
                        Romo @scottalanmiller
                        last edited by

                        @scottalanmiller, it appears to be ubuntu userspace. They are running the same Ubuntu ELF binaries only on WLS, wouldn't that allow it to be called ubuntu?

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

                          @Romo said:

                          @scottalanmiller, it appears to be ubuntu userspace. They are running the same Ubuntu ELF binaries only on WLS, wouldn't that allow it to be called ubuntu?

                          Well... define Ubuntu first. It's in no way the Ubuntu OS, not even slightly. Unless you can tell me that no one that says Ubuntu means Ubuntu Linux, then no, it's not Ubuntu.

                          I've never met anyone who said Ubuntu meaning something that this would qualify as.

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

                            We never, ever say that we run Windows on Linux, even though we've had WINE. WINE is an API emulation layer, but no one thinks it is Windows. But that's what is going on here.

                            dafyreD 1 Reply Last reply Reply Quote 0
                            • dafyreD
                              dafyre @scottalanmiller
                              last edited by

                              @scottalanmiller said:

                              We never, ever say that we run Windows on Linux, even though we've had WINE. WINE is an API emulation layer, but no one thinks it is Windows. But that's what is going on here.

                              They should have called this product LINE... Linux Is Not Emulated, lol.

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

                                @dafyre said:

                                @scottalanmiller said:

                                We never, ever say that we run Windows on Linux, even though we've had WINE. WINE is an API emulation layer, but no one thinks it is Windows. But that's what is going on here.

                                They should have called this product LINE... Linux Is Not Emulated, lol.

                                Exactly. It's interesting technology, it's an update to a subsystem that has languished and been forgotten (how many Windows "Admins" - see other thread - even know of the UNIX Subsystem for Windows which has been there for over two decades?) and will be kind of useful to developers, I guess, but is not very useful overall. It's not for production use, it's really just for desktops and it lacks all of the power and functionality that would have made it interesting.

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

                                  Part of the issue is that one department is out there saying that this is only for developers and that it is crippled and useless. Then another department out there working hard giving it names to totally confuse people. Saying things like that Ubuntu is running on Windows, which is obvious BS and a total lie. Ubuntu is not the user space, that's kind of important, but that's just the icing, not the cake. The cake is a lie here.

                                  And the Ubuntu user space includes a lot of stuff for administration, if those don't work, how can we claim that we have the full user space?

                                  It's just a large collection of apps from Linux that will run on Windows. That's interesting, but interesting at best until they get it doing something more.

                                  1 Reply Last reply Reply Quote 0
                                  • bbigfordB
                                    bbigford
                                    last edited by

                                    I got my hopes up for BASH on Windows.

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

                                      @BBigford said:

                                      I got my hopes up for BASH on Windows.

                                      Hopes.... dashed.

                                      Me too.

                                      1 Reply Last reply Reply Quote 1
                                      • bbigfordB
                                        bbigford
                                        last edited by

                                        Maybe PowerShell will be available on Linux soon.... 🙂

                                        scottalanmillerS mlnewsM 2 Replies Last reply Reply Quote 1
                                        • bbigfordB
                                          bbigford
                                          last edited by bbigford

                                          True BASH on Windows would be like the day we were provided Internet radio. That was a pretty good day.

                                          1 Reply Last reply Reply Quote 1
                                          • bbigfordB
                                            bbigford
                                            last edited by bbigford

                                            I wonder if this is just some huge marketing ploy... Appearing to be more flexible, try and poach some developers. Seems like it is all smoke and mirrors though. I was skeptical that it would end up just being a terrible project, I wonder if that is what we're seeing.

                                            Microsoft to disgruntled, mislead person over the phone: "Oh no, you CAN use BASH on Windows... I mean not technically.... Well yeah, it's terrible to use.... No, I understand it's terrible.... Yeah, we lead you on.... No, you can go f*** YOURself.... and good day to you, sir."

                                            scottalanmillerS 1 Reply Last reply Reply Quote 1
                                            • 1
                                            • 2
                                            • 3
                                            • 2 / 3
                                            • First post
                                              Last post