wsl –install | Install WSL. |
wsl –list | List installed Linux flavours. |
wsl –install -d ubuntu | Install Ubuntu. |
wsl -s ubuntu | Make Ubuntu the default. |
sudo apt-get update && sudo apt-get install -y dotnet-sdk-7.0 | Install Dotnet on WSL. |
ll or ls -alF | List files properly. |
sudo apt update && sudo apt upgrade | Update the system. |
| File System | |
sudo chmod +x /usr/local/bin/sign-kernel | Make a file executable. |
| Diagnostic Info | |
mokutil –sb-state | SecureBoot status. |
/mnt/c/Dev\\wsl.localhost\Ubuntu\home
Edit your .bashrc file, it will be \\wsl.localhost\Ubuntu\home\<you>\.bashrc, append whatever you want to the bottom.
sudo fdisk -l, look for something like /dev/sda4.sudu mkdir /mnt/windows.sudo mount -t ntfs-3g /dev/sda4 /mnt/windows. Add a -r for read only.