From the course: Learning Windows Subsystem for Linux
Unlock the full course today
Join today to access over 24,800 courses taught by industry experts.
Using the wsl.exe tool - Windows Tutorial
From the course: Learning Windows Subsystem for Linux
Using the wsl.exe tool
- [Scott] There are a few ways we can interact with our installed distributions, using the Windows Subsystem for Linux. One way, which is what we'll be using mostly in this course is by using the Distro shell directly. With the Ubuntu Distro I have installed, that's Bash, and that's what I see here in this terminal. The other way of interacting with Windows Subsystem for Linux is by using the wsl.exe executable with various options. This lets us interact with the subsystem and make changes to how it works. And it lets us run one off commands inside the Distro if we need to do that. I can use this tool from within the Linux environment or from a PowerShell terminal. I'll switch over to my PowerShell terminal here. Using the wsl.exe command, we can get a list of installed Distros, we can set which is the default, we can change the version of WSL that a Distro is using and more. To see all the options I'll type wsl --help.…
Contents
-
-
-
How WSL works4m 28s
-
(Locked)
Enabling WSL on your Windows system3m 45s
-
(Locked)
Installing a Linux distribution2m 46s
-
(Locked)
Using Windows Terminal5m 15s
-
(Locked)
Using the wsl.exe tool4m 50s
-
(Locked)
Distribution configuration with wsl.conf2m 25s
-
(Locked)
Accessing files5m 32s
-
(Locked)
Using network services4m 7s
-
(Locked)
Attaching USB devices1m 48s
-
(Locked)
Mounting disks in WSL3m 13s
-
-
-
-