add launch and password reset instructions
authorAJ ONeal <aj@therootcompany.com>
Mon, 14 Sep 2020 12:28:35 +0000 (12:28 +0000)
committerAJ ONeal <aj@therootcompany.com>
Mon, 14 Sep 2020 12:28:35 +0000 (12:28 +0000)
wsl2/README.md

index 4a7fbf6e808d1171c377feb1a846178ccd98863d..ac29c54b5a2265e3f8f7439432b087168e0f90fb 100644 (file)
@@ -37,6 +37,27 @@ powershell Add-AppxPackage Ubuntu_2004_x64.appx
 
 See also <https://docs.microsoft.com/en-us/windows/wsl/install-manual>.
 
+### How to Launch Linux
+
+To Launch the default Linux:
+
+```pwsh
+wsl.exe
+```
+
+To Launch a specific Linux:
+
+```pwsh
+wsl.exe --list
+wsl.exe Ubuntu
+```
+
+### How to Set or Reset Root Password
+
+```pwsh
+wsl -d Ubuntu -u root
+```
+
 ### How to Switch Between WSL 1 and WSL 2
 
 Despite the name, WSL 2 is neither a "better" version of nor a replacement for