Answers for "EDIT WSL2 terminal user%"

1

change wsl to version 1

wsl --set-version Ubuntu-18.04 1

// Run the above command from windows powershell 
// This assumes you are running Ubuntu 18.04
Posted by: Guest on January-29-2021
0

How to change default user in WSL Ubuntu bash on Windows 10

ubuntu2 config --default-user root

#ubuntu 20.04
ubuntu2004 config --default-user root

#ubuntu 18.04
ubuntu1804 config --default-user root
Posted by: Guest on June-24-2021
0

EDIT WSL2 terminal user%

ubuntu2004 config --default-user root
Posted by: Guest on October-08-2021

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language