Skip to content

Instantly share code, notes, and snippets.

@hn3000
Last active August 11, 2023 11:12
Show Gist options
  • Save hn3000/a0b55647a3211b46299de21c11ee8189 to your computer and use it in GitHub Desktop.
Save hn3000/a0b55647a3211b46299de21c11ee8189 to your computer and use it in GitHub Desktop.
launch wsl bash as root
# 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