Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. The Lounge
  3. Bash/Ubuntu on Windows 10 - Now What

Bash/Ubuntu on Windows 10 - Now What

Scheduled Pinned Locked Moved The Lounge
linuxrubyapachelamppostgresql
25 Posts 15 Posters 0 Views 1 Watching
  • 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.
  • L Lost User

    It may work better for some games than Wine :-O

    Bastard Programmer from Hell :suss: If you can't read my code, try converting it here[^][](X-Clacks-Overhead: GNU Terry Pratchett)

    T Offline
    T Offline
    TNCaver
    wrote on last edited by
    #3

    Hmm, install bash on Windows, so you can run Wine, so you can run Windows games. Makes perfect sense. ;)

    If you think 'goto' is evil, try writing an Assembly program without JMP.

    M 1 Reply Last reply
    0
    • T TNCaver

      Hmm, install bash on Windows, so you can run Wine, so you can run Windows games. Makes perfect sense. ;)

      If you think 'goto' is evil, try writing an Assembly program without JMP.

      M Offline
      M Offline
      Mark_Wallace
      wrote on last edited by
      #4

      It gives you a true 8-bit experience.

      I wanna be a eunuchs developer! Pass me a bread knife!

      T 1 Reply Last reply
      0
      • T TNCaver

        This is an intriguing concept. But, other than practicing your bash shell commands without a VM or dual boot, what are some practical uses for it? Can you set up a Linux development environment, run a LAMP or LARP* stack on it? I'm curious to know what uses CP'ers have found. *Linux Apache Ruby PostgreSQL.

        If you think 'goto' is evil, try writing an Assembly program without JMP.

        D Offline
        D Offline
        Dong Xie
        wrote on last edited by
        #5

        It is not a concept, it is for real. And yes you can do LAMP on it or whatever language you fancy, as long as it runs on Ubuntu. Personally I still goes to my VBox Ubuntu most of the time though.

        T 1 Reply Last reply
        0
        • T TNCaver

          This is an intriguing concept. But, other than practicing your bash shell commands without a VM or dual boot, what are some practical uses for it? Can you set up a Linux development environment, run a LAMP or LARP* stack on it? I'm curious to know what uses CP'ers have found. *Linux Apache Ruby PostgreSQL.

          If you think 'goto' is evil, try writing an Assembly program without JMP.

          Z Offline
          Z Offline
          ZurdoDev
          wrote on last edited by
          #6

          Ubuntu is free and you definitely get what you pay for. It has so many bugs and is not user friendly at all. It's worth paying for Windows. I won't take the cheap route again. Ubuntu sucks! Wait..., that's not what you meant by bash Ubuntu? :-O

          There are two kinds of people in the world: those who can extrapolate from incomplete data. There are only 10 types of people in the world, those who understand binary and those who don't.

          1 Reply Last reply
          0
          • T TNCaver

            This is an intriguing concept. But, other than practicing your bash shell commands without a VM or dual boot, what are some practical uses for it? Can you set up a Linux development environment, run a LAMP or LARP* stack on it? I'm curious to know what uses CP'ers have found. *Linux Apache Ruby PostgreSQL.

            If you think 'goto' is evil, try writing an Assembly program without JMP.

            N Offline
            N Offline
            Nathan Minier
            wrote on last edited by
            #7

            Considerably more power than cmd, less user acceptance issues than PowerShell. What's not to love?

            "There are three kinds of lies: lies, damned lies and statistics." - Benjamin Disraeli

            H D 2 Replies Last reply
            0
            • T TNCaver

              This is an intriguing concept. But, other than practicing your bash shell commands without a VM or dual boot, what are some practical uses for it? Can you set up a Linux development environment, run a LAMP or LARP* stack on it? I'm curious to know what uses CP'ers have found. *Linux Apache Ruby PostgreSQL.

              If you think 'goto' is evil, try writing an Assembly program without JMP.

              D Offline
              D Offline
              Dan Neely
              wrote on last edited by
              #8

              Just don't ever edit a *nix config file using a windows editor. While most are smart enough not to screw up line endings, they don't understand how to handle the *nix permissions tucked away in the file system. With the result that the first time one does a safe write: 0) Write to filename.ext.temp 1) delete filename.ext 2) rename filename.ext.temp to filename.ext you end up losing all the *nix permissions on the file and then your *nix breaks. :doh:

              Did you ever see history portrayed as an old man with a wise brow and pulseless heart, waging all things in the balance of reason? Is not rather the genius of history like an eternal, imploring maiden, full of fire, with a burning heart and flaming soul, humanly warm and humanly beautiful? --Zachris Topelius Training a telescope on one’s own belly button will only reveal lint. You like that? You go right on staring at it. I prefer looking at galaxies. -- Sarah Hoyt

              T C 2 Replies Last reply
              0
              • D Dan Neely

                Just don't ever edit a *nix config file using a windows editor. While most are smart enough not to screw up line endings, they don't understand how to handle the *nix permissions tucked away in the file system. With the result that the first time one does a safe write: 0) Write to filename.ext.temp 1) delete filename.ext 2) rename filename.ext.temp to filename.ext you end up losing all the *nix permissions on the file and then your *nix breaks. :doh:

                Did you ever see history portrayed as an old man with a wise brow and pulseless heart, waging all things in the balance of reason? Is not rather the genius of history like an eternal, imploring maiden, full of fire, with a burning heart and flaming soul, humanly warm and humanly beautiful? --Zachris Topelius Training a telescope on one’s own belly button will only reveal lint. You like that? You go right on staring at it. I prefer looking at galaxies. -- Sarah Hoyt

                T Offline
                T Offline
                TNCaver
                wrote on last edited by
                #9

                Several articles I've read agree. They all give me the impression that using one OS's tools to modify the other's files tend not to end well. Speaking of said articles, I asked this question here because (a) I knew the answers would range from helpful to classic CP buffoonery, and (b) asking it on Google and Duck*2Go resulted in everyone and their sister's blog on how to install it and run a few bash commands, but precious little on what to actually do with it once you've got it.

                If you think 'goto' is evil, try writing an Assembly program without JMP.

                F 1 Reply Last reply
                0
                • D Dong Xie

                  It is not a concept, it is for real. And yes you can do LAMP on it or whatever language you fancy, as long as it runs on Ubuntu. Personally I still goes to my VBox Ubuntu most of the time though.

                  T Offline
                  T Offline
                  TNCaver
                  wrote on last edited by
                  #10

                  Oh, I know it's real. Curious, though, why go back to the VM? What can you do there that you can't do with U on Wen?

                  If you think 'goto' is evil, try writing an Assembly program without JMP.

                  P 1 Reply Last reply
                  0
                  • T TNCaver

                    Oh, I know it's real. Curious, though, why go back to the VM? What can you do there that you can't do with U on Wen?

                    If you think 'goto' is evil, try writing an Assembly program without JMP.

                    P Offline
                    P Offline
                    patbob
                    wrote on last edited by
                    #11

                    TNCaver wrote:

                    What can you do there that you can't do with U on Wen?

                    Microsoft didn't implement thunks for all the system calls, so there's some things that just won't run under it but will run under a VM running on top of WinX.

                    We can program with only 1's, but if all you've got are zeros, you've got nothing.

                    1 Reply Last reply
                    0
                    • T TNCaver

                      Several articles I've read agree. They all give me the impression that using one OS's tools to modify the other's files tend not to end well. Speaking of said articles, I asked this question here because (a) I knew the answers would range from helpful to classic CP buffoonery, and (b) asking it on Google and Duck*2Go resulted in everyone and their sister's blog on how to install it and run a few bash commands, but precious little on what to actually do with it once you've got it.

                      If you think 'goto' is evil, try writing an Assembly program without JMP.

                      F Offline
                      F Offline
                      FiresChild
                      wrote on last edited by
                      #12

                      Well, if they had implemented the USB syscalls, we could have used it to develop for android but since they didn't then adb can't talk to any android devices for debugging. Makes Bash/Ubuntu on Windows mostly a silly toy.

                      1 Reply Last reply
                      0
                      • T TNCaver

                        This is an intriguing concept. But, other than practicing your bash shell commands without a VM or dual boot, what are some practical uses for it? Can you set up a Linux development environment, run a LAMP or LARP* stack on it? I'm curious to know what uses CP'ers have found. *Linux Apache Ruby PostgreSQL.

                        If you think 'goto' is evil, try writing an Assembly program without JMP.

                        K Offline
                        K Offline
                        kalberts
                        wrote on last edited by
                        #13

                        Where does VM/dual boot come into play with bash? bash implementations for Windows are available as components of several different packages. (And: does a [lamp stack] require a specific OS?)

                        T 1 Reply Last reply
                        0
                        • K kalberts

                          Where does VM/dual boot come into play with bash? bash implementations for Windows are available as components of several different packages. (And: does a [lamp stack] require a specific OS?)

                          T Offline
                          T Offline
                          TNCaver
                          wrote on last edited by
                          #14

                          Member 7989122 wrote:

                          bash implementations for Windows are available as components of several different packages.

                          Pardon me for my sin of ommission. I should have said "VM/dual boot/Cygwin/any other bash-on-Windows implementation I've never heard of or looked for."

                          Member 7989122 wrote:

                          (And: does a [lamp stack] require a specific OS?)

                          Well, considering the 'L' in LAMP stands for Linux ... :)

                          If you think 'goto' is evil, try writing an Assembly program without JMP.

                          1 Reply Last reply
                          0
                          • M Mark_Wallace

                            It gives you a true 8-bit experience.

                            I wanna be a eunuchs developer! Pass me a bread knife!

                            T Offline
                            T Offline
                            TNCaver
                            wrote on last edited by
                            #15

                            Leisure Suit Larry will rise again!

                            If you think 'goto' is evil, try writing an Assembly program without JMP.

                            M 1 Reply Last reply
                            0
                            • T TNCaver

                              This is an intriguing concept. But, other than practicing your bash shell commands without a VM or dual boot, what are some practical uses for it? Can you set up a Linux development environment, run a LAMP or LARP* stack on it? I'm curious to know what uses CP'ers have found. *Linux Apache Ruby PostgreSQL.

                              If you think 'goto' is evil, try writing an Assembly program without JMP.

                              U Offline
                              U Offline
                              User 2893688
                              wrote on last edited by
                              #16

                              As per my experience, git clone works far better on BASH for **Win10** than on actually *Windows*. Also you must keep in mind that **Win10** has file path lenght limit, so actually cloning some repositories will keep them intact. Last but not least, this is more about looking into the future. For example, today, to run ``Docker for Windows``, you need a full Linux installation inside Hyper-V. In the future, in an inception like scenario, you might for go ``Hyper V`` completely, and run Docker using pure Windows Containers, some pure Windows and some others hybrid, using the ``USL``. Since the ``USL`` will be feature complete in 2 years time, you could run any container possible, even non **Ubuntu** ones. :-O

                              I am the one who knocks...

                              1 Reply Last reply
                              0
                              • T TNCaver

                                This is an intriguing concept. But, other than practicing your bash shell commands without a VM or dual boot, what are some practical uses for it? Can you set up a Linux development environment, run a LAMP or LARP* stack on it? I'm curious to know what uses CP'ers have found. *Linux Apache Ruby PostgreSQL.

                                If you think 'goto' is evil, try writing an Assembly program without JMP.

                                V Offline
                                V Offline
                                Vark111
                                wrote on last edited by
                                #17

                                Maybe get a decent install of Clang or gcc on Windows for once? Both mingw and cygwin have versions of gcc and its supporting libs that are not completely compatible with the *nix versions. Haven't tried yet, to be honest. I need Win 10 on a machine first.

                                1 Reply Last reply
                                0
                                • N Nathan Minier

                                  Considerably more power than cmd, less user acceptance issues than PowerShell. What's not to love?

                                  "There are three kinds of lies: lies, damned lies and statistics." - Benjamin Disraeli

                                  H Offline
                                  H Offline
                                  Herbie Mountjoy
                                  wrote on last edited by
                                  #18

                                  Yes. I guess MS have been jealous of the superior commands available in bash that don't exist in MS Dos.

                                  We're philosophical about power outages here. A.C. come, A.C. go.

                                  N 1 Reply Last reply
                                  0
                                  • H Herbie Mountjoy

                                    Yes. I guess MS have been jealous of the superior commands available in bash that don't exist in MS Dos.

                                    We're philosophical about power outages here. A.C. come, A.C. go.

                                    N Offline
                                    N Offline
                                    Nathan Minier
                                    wrote on last edited by
                                    #19

                                    Absolutely. Command chaining is a very powerful feature that cmd has sorely lacked. If for that alone, it's worth it. It also doesn't hurt to have a common command interface for each box in the server farm.

                                    "There are three kinds of lies: lies, damned lies and statistics." - Benjamin Disraeli

                                    1 Reply Last reply
                                    0
                                    • T TNCaver

                                      Leisure Suit Larry will rise again!

                                      If you think 'goto' is evil, try writing an Assembly program without JMP.

                                      M Offline
                                      M Offline
                                      Mark_Wallace
                                      wrote on last edited by
                                      #20

                                      Hmm. You're actually turning my head in favour of it!

                                      I wanna be a eunuchs developer! Pass me a bread knife!

                                      1 Reply Last reply
                                      0
                                      • N Nathan Minier

                                        Considerably more power than cmd, less user acceptance issues than PowerShell. What's not to love?

                                        "There are three kinds of lies: lies, damned lies and statistics." - Benjamin Disraeli

                                        D Offline
                                        D Offline
                                        dandy72
                                        wrote on last edited by
                                        #21

                                        Nathan Minier wrote:

                                        Considerably more power than cmd, less user acceptance issues than PowerShell.

                                        You must not read Slashdot. When MS announced Bash for Windows 10, the resulting discussions were all about how this does nothing to sway any of them back to MS. Going at it the other way around, when MS announced PowerShell for Linux, the resulting discussions were all about how nobody in their right minds would pollute their pristine Linux systems with MS garbage. "Less user acceptance issues", my @$$. They just can't win. The attitude in the community makes me want to ignore Linux more than any technical issue or learning curve.

                                        N 1 Reply Last reply
                                        0
                                        • D dandy72

                                          Nathan Minier wrote:

                                          Considerably more power than cmd, less user acceptance issues than PowerShell.

                                          You must not read Slashdot. When MS announced Bash for Windows 10, the resulting discussions were all about how this does nothing to sway any of them back to MS. Going at it the other way around, when MS announced PowerShell for Linux, the resulting discussions were all about how nobody in their right minds would pollute their pristine Linux systems with MS garbage. "Less user acceptance issues", my @$$. They just can't win. The attitude in the community makes me want to ignore Linux more than any technical issue or learning curve.

                                          N Offline
                                          N Offline
                                          Nathan Minier
                                          wrote on last edited by
                                          #22

                                          dandy72 wrote:

                                          You must not read Slashdot.

                                          No, that sounds like horribly kinky fan-fiction featuring Dot from Animaniacs, though. I don't think anyone cares about Linux fanbois, not even Linux fanbois. I was actually talking about Windows user acceptance, as in an enterprise environment I've seen a lot of (IT) people that are so intimidated by PowerShell that they won't use it. They will, however, use bash, since they've had to learn how to when administering appliances. Maybe the issue here is that when I say "User", I'm meaning anything from baseline User to SysAdmin. To me it just means !Developer.

                                          "There are three kinds of lies: lies, damned lies and statistics." - Benjamin Disraeli

                                          1 Reply Last reply
                                          0
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          • Login

                                          • Don't have an account? Register

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • Categories
                                          • Recent
                                          • Tags
                                          • Popular
                                          • World
                                          • Users
                                          • Groups