In this blog post, we will learn how to start a WSL Linux distribution that is not running and start using it.
Check Status
The first check-in starting a WSL distribution is to check if it is offline or online by running the following command.
wsl --list -v
The output below shows that my Ubuntu WSL distribution is offline.
NAME STATE VERSION
* Ubuntu-20.04 Stopped 1
Start Distribution
To start my Ubuntu distribution I will run the followonig command.
wsl -d Ubuntu-20.04