Results 1 to 9 of 9

Thread: BASH on Windows.. apparently not an April fools..

  1. #1
    Banhammer in peace PeterB kalniel's Avatar
    Join Date
    Aug 2005
    Posts
    31,025
    Thanks
    1,871
    Thanked
    3,383 times in 2,720 posts
    • kalniel's system
      • Motherboard:
      • Gigabyte Z390 Aorus Ultra
      • CPU:
      • Intel i9 9900k
      • Memory:
      • 32GB DDR4 3200 CL16
      • Storage:
      • 1TB Samsung 970Evo+ NVMe
      • Graphics card(s):
      • nVidia GTX 1060 6GB
      • PSU:
      • Seasonic 600W
      • Case:
      • Cooler Master HAF 912
      • Operating System:
      • Win 10 Pro x64
      • Monitor(s):
      • Dell S2721DGF
      • Internet:
      • rubbish

    BASH on Windows.. apparently not an April fools..

    Despite the close shave with the dates...

    https://blogs.windows.com/buildingap...tu-on-windows/

  2. #2
    The late but legendary peterb - Onward and Upward peterb's Avatar
    Join Date
    Aug 2005
    Location
    Looking down & checking on swearing
    Posts
    19,378
    Thanks
    2,892
    Thanked
    3,403 times in 2,693 posts

    Re: BASH on Windows.. apparently not an April fools..

    Interesting, but surely if you are developing for *nix system, you would be using the OS system natively, or at least in a VM? So why would you use a restricted Windows environment?
    (\__/)
    (='.'=)
    (")_(")

    Been helped or just 'Like' a post? Use the Thanks button!
    My broadband speed - 750 Meganibbles/minute

  3. #3
    Banhammer in peace PeterB kalniel's Avatar
    Join Date
    Aug 2005
    Posts
    31,025
    Thanks
    1,871
    Thanked
    3,383 times in 2,720 posts
    • kalniel's system
      • Motherboard:
      • Gigabyte Z390 Aorus Ultra
      • CPU:
      • Intel i9 9900k
      • Memory:
      • 32GB DDR4 3200 CL16
      • Storage:
      • 1TB Samsung 970Evo+ NVMe
      • Graphics card(s):
      • nVidia GTX 1060 6GB
      • PSU:
      • Seasonic 600W
      • Case:
      • Cooler Master HAF 912
      • Operating System:
      • Win 10 Pro x64
      • Monitor(s):
      • Dell S2721DGF
      • Internet:
      • rubbish

    Re: BASH on Windows.. apparently not an April fools..

    Quote Originally Posted by peterb View Post
    Interesting, but surely if you are developing for *nix system, you would be using the OS system natively, or at least in a VM? So why would you use a restricted Windows environment?
    Some of us produce in Windows, and use VMs or remote sessions where we need to.. but have still found ourselves wanting to write a quick shell hack for some local file manipulation/text parsing Yes, you can do it in powershell, but BASH is so much quicker given existing experience. There's a bunch of other things it'd be easier for me to do this way as well.

    Believe it or not, some even switched to Mac because of the OS X terminals.

  4. #4
    Senior Member
    Join Date
    Aug 2013
    Location
    North Wales
    Posts
    1,849
    Thanks
    165
    Thanked
    271 times in 202 posts
    • virtuo's system
      • Motherboard:
      • Gigabyte Aorus Master X570
      • CPU:
      • Ryzen 9 5950x
      • Memory:
      • 64Gb G.Skill TridentZ Neo 3600 CL16
      • Storage:
      • Sabrent 2TB PCIE4 NVME + NAS upon NAS upon NAS
      • Graphics card(s):
      • RTX 3090 FE
      • PSU:
      • Corsair HX850 80+ Platinum
      • Case:
      • Fractal Meshify 2 Grey
      • Operating System:
      • RedStar 3, Ubuntu, Win 10
      • Monitor(s):
      • Samsung CRG90 5140x1440 120hz
      • Internet:
      • PlusNet's best, but still poor, attempt

    Re: BASH on Windows.. apparently not an April fools..

    Some of the standard bash tools would be great for me, I work primarily on linux servers and always look like a tool trying to grep, vim or cat my way around in a Windows Command prompt.

    I do worry it's not going to be quite as good as they are making out, but I'm keeping an open mind.

  5. #5
    Senior Member
    Join Date
    May 2013
    Posts
    215
    Thanks
    3
    Thanked
    21 times in 19 posts
    • bytejunkie's system
      • Motherboard:
      • ASRock P5S Pro
      • CPU:
      • i5 750
      • Memory:
      • 8GB Patriot IEM
      • Storage:
      • Samsung 840Pro 128GB
      • Graphics card(s):
      • XFX 6870
      • PSU:
      • Powercooler 600
      • Case:
      • Thermal Take Dokker
      • Operating System:
      • Win7
      • Monitor(s):
      • Apple Cinema Screen
      • Internet:
      • yup

    Re: BASH on Windows.. apparently not an April fools..

    Quote Originally Posted by peterb View Post
    Interesting, but surely if you are developing for *nix system, you would be using the OS system natively, or at least in a VM? So why would you use a restricted Windows environment?
    i thought like this, until i read this blog post
    http://www.hanselman.com/blog/Develo...Windows10.aspx

    he really captures it. its not about running bash, its about running things inside bash. for instance, i don't want to run the cygwin version of grep, i want to run grep. natively. just the way im used to using it.
    run that down the stack (which i'll admit will probably take some time) and i can run mongodb (insert tool of choice) inside bash but from the windows file system.

    I'm not totally sure thats the right example, but the fact i;'ll natively have access to the tools im used to using from my corporate box, will make life loads easier. please microsoft, don't screw this one up.

  6. #6
    root Member DanceswithUnix's Avatar
    Join Date
    Jan 2006
    Location
    In the middle of a core dump
    Posts
    12,986
    Thanks
    781
    Thanked
    1,588 times in 1,343 posts
    • DanceswithUnix's system
      • Motherboard:
      • Asus X470-PRO
      • CPU:
      • 5900X
      • Memory:
      • 32GB 3200MHz ECC
      • Storage:
      • 2TB Linux, 2TB Games (Win 10)
      • Graphics card(s):
      • Asus Strix RX Vega 56
      • PSU:
      • 650W Corsair TX
      • Case:
      • Antec 300
      • Operating System:
      • Fedora 39 + Win 10 Pro 64 (yuk)
      • Monitor(s):
      • Benq XL2730Z 1440p + Iiyama 27" 1440p
      • Internet:
      • Zen 900Mb/900Mb (CityFibre FttP)

    Re: BASH on Windows.. apparently not an April fools..

    Quote Originally Posted by peterb View Post
    Interesting, but surely if you are developing for *nix system, you would be using the OS system natively, or at least in a VM? So why would you use a restricted Windows environment?
    Embrace...

    This is text only at the moment so you will be missing some useful stuff like DDD. But still, lots of automation tasks can be done with just access to the basic utilities.

    I do wonder if it will stay as text only to reinforce the lie that Unix is only about command line interfaces.

  7. #7
    Senior Member Peter Parker's Avatar
    Join Date
    Jan 2008
    Location
    London
    Posts
    348
    Thanks
    98
    Thanked
    62 times in 47 posts
    • Peter Parker's system
      • Motherboard:
      • ASUS Z170 Pro Gaming
      • CPU:
      • i5-6600K
      • Memory:
      • 16GB DDR4
      • Storage:
      • Kingston 128GB SSD + 2x3TB
      • Graphics card(s):
      • GTX970
      • PSU:
      • SilverStone ST50EF
      • Case:
      • Silverstone Grandia GD01S-MXR
      • Operating System:
      • Fedora 33

    Re: BASH on Windows.. apparently not an April fools..

    I'll have to see if I can find a Windows machine to try this on.

    As a developers, there's some things I'd like to test out :-

    * Does sudo work? Is it needed?
    * Does the ports <1024 restriction apply? I think Windows an Linux differ in this respect

    Looks like an interesting way to allow more collaborative dev environments without enforcing that everyone installs Linux or Vagrant.

  8. #8
    root Member DanceswithUnix's Avatar
    Join Date
    Jan 2006
    Location
    In the middle of a core dump
    Posts
    12,986
    Thanks
    781
    Thanked
    1,588 times in 1,343 posts
    • DanceswithUnix's system
      • Motherboard:
      • Asus X470-PRO
      • CPU:
      • 5900X
      • Memory:
      • 32GB 3200MHz ECC
      • Storage:
      • 2TB Linux, 2TB Games (Win 10)
      • Graphics card(s):
      • Asus Strix RX Vega 56
      • PSU:
      • 650W Corsair TX
      • Case:
      • Antec 300
      • Operating System:
      • Fedora 39 + Win 10 Pro 64 (yuk)
      • Monitor(s):
      • Benq XL2730Z 1440p + Iiyama 27" 1440p
      • Internet:
      • Zen 900Mb/900Mb (CityFibre FttP)

    Re: BASH on Windows.. apparently not an April fools..

    Well some benchmarks have started popping up, and they are actually rather good. Generally trading blows with a genuine Linux install and for such a new technology putting in a damned good showing. Most of the tests look kind of like:



    where it is all a wash. The more memory & cpu intensive stuff Windows actually wins:



    There was one where Windows failed badly, and not surprisingly it was filesystem heavy task of compilation.



    Buy hey, you would be doing that on a genuine Linux box anyway wouldn't you.

    (All taken from http://www.phoronix.com/scan.php?pag...0-lxcore&num=1)

  9. #9
    Comfortably Numb directhex's Avatar
    Join Date
    Jul 2003
    Location
    /dev/urandom
    Posts
    17,074
    Thanks
    228
    Thanked
    1,027 times in 678 posts
    • directhex's system
      • Motherboard:
      • Asus ROG Strix B550-I Gaming
      • CPU:
      • Ryzen 5900x
      • Memory:
      • 64GB G.Skill Trident Z RGB
      • Storage:
      • 2TB Seagate Firecuda 520
      • Graphics card(s):
      • EVGA GeForce RTX 3080 XC3 Ultra
      • PSU:
      • EVGA SuperNOVA 850W G3
      • Case:
      • NZXT H210i
      • Operating System:
      • Ubuntu 20.04, Windows 10
      • Monitor(s):
      • LG 34GN850
      • Internet:
      • FIOS

    Re: BASH on Windows.. apparently not an April fools..

    Quote Originally Posted by DanceswithUnix View Post
    This is text only at the moment so you will be missing some useful stuff like DDD. But still, lots of automation tasks can be done with just access to the basic utilities.

    I do wonder if it will stay as text only to reinforce the lie that Unix is only about command line interfaces.
    If you install an Xserver and export DISPLAY=:0, GUI stuff works.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •