WSL and other command line tricks in Creators Edition update...

Discussion in 'Tech' started by Goofus Maximus, Jun 3, 2017.

  1. Goofus Maximus

    Goofus Maximus Too old to be this dumb!

    Messages:
    6,986
    Trophy Points:
    78
    Location:
    St. Louis area, but in Illinois
    Has anyone played around with bash/Windows Subsystem for Linux in the latest version of winten?

    So far, I've learned the simple way of dealing with Windows switch from the command line to powershell. Just open powershell where you would've opened command line, then type "cmd.exe", and BOOM, your powershell turns into the command line. Mingw gcc (windows version) runs from powershell just like the command line, as well.

    You can also open bash just like cmd.exe from powershell, when you have WSL installed. "Bash -c" also lets you run bash commands, such as "bash -c ls -l" from powershell or command prompt, and the windows filesystem is mounted in WSL, so you can access windows files from the bash prompt.

    Have any of you played around with this yet?
  2. msgwtco

    msgwtco Divides by Zero

    Messages:
    872
    Trophy Points:
    33
    Location:
    Plainville, CT
    It's pretty much an Ubuntu distro within Windows. I've messed around with it a bit. Pretty much almost any userlevel CLI stuff will run on it, so you can practice bash scripts, encode video with the Linux version of ffmpeg, or do all sorts of neat command line stuff.
  3. Goofus Maximus

    Goofus Maximus Too old to be this dumb!

    Messages:
    6,986
    Trophy Points:
    78
    Location:
    St. Louis area, but in Illinois
    Should they rename it from WSL, and call it LINE? :)