Last active
August 11, 2023 11:12
-
-
Save hn3000/a0b55647a3211b46299de21c11ee8189 to your computer and use it in GitHub Desktop.
launch wsl bash as root
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# list installed distributions | |
wsl --list -v | |
# replace Ubuntu to use another distribution | |
wsl -d Ubuntu -u root |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment