From d5b8af415f6588268fcfd48a7af8bafdde6fdb8e Mon Sep 17 00:00:00 2001 From: AJ ONeal Date: Mon, 14 Sep 2020 12:28:35 +0000 Subject: [PATCH] add launch and password reset instructions --- wsl2/README.md | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/wsl2/README.md b/wsl2/README.md index 4a7fbf6..ac29c54 100644 --- a/wsl2/README.md +++ b/wsl2/README.md @@ -37,6 +37,27 @@ powershell Add-AppxPackage Ubuntu_2004_x64.appx See also . +### 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 -- 2.25.1