![]() ![]() Run the following commands, type the following commands in your WSL terminal. To manually change the directory, you type the following commnad cd /mnt/c/Users/user_name To Make it Default WSL BASH Directory To change into your Windows directory, you have to change many directories which is time consuming and nobody wants waste time like that. I have launched my Ubuntu WSL 2 and it opens in Ubuntu home/user directory, which your check by running this pwd command, this tells you the current directory you are in. ![]() To check WSL version, simply relaunch your CMD or PowerShell and run the following command. wsl -set-version Ubuntu-20.04 2 Check WSL version Replace Ubuntu-20.04 with your Distro name, 2 at the end is the WSL version number. Download and install WSL 2 kernal from link above, restart your system, then launch PowerShell with admin right, and run WSL upgrade command. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |