Overview
You can enter the bash shell on windows from the command prompt by typing:
> bash Welcome to Ubuntu 20.04.2 LTS (GNU/Linux 5.4.72-microsoft-standard-WSL2 x86_64) * Documentation: https://help.ubuntu.com * Management: https://landscape.canonical.com * Support: https://ubuntu.com/advantage System information as of Thu Jul 29 10:36:56 EDT 2021 System load: 0.0 Processes: 8 Usage of /: 0.5% of 250.98GB Users logged in: 0 Memory usage: 0% IPv4 address for eth0: 172.18.84.238 Swap usage: 0% 1 update can be installed immediately. 0 of these updates are security updates. To see these additional updates run: apt list --upgradable The list of available updates is more than a week old. To check for new updates run: sudo apt update This message is shown once a day. To disable it please create the /home/john/.hushlogin file. john@N-CND1042RH7:/mnt/c/Users/mehan/projects$
From here you are now running ubuntu linux.
Common Tasks
Mount your windows home folder
$ cd ~ $ ln -s /mnt/c/Users/mehan home
Ubuntu Specific Tasks
Update your packages
sudo apt-get update