How do you shutdown WSL?
Experience Level: Junior
Tags: WSL
Answer
From command-line, execute
wsl --shutdown
Related WSL job interview questions
What is a file .wslconfig good for?
WSL JuniorHow do you re-run WSL that you stopped before?
WSL JuniorHow do you set your distro as default so that you can access it after executing wsl command?
WSL JuniorHow do you remove a distro from WSL?
WSL JuniorHow do you convert your WSL distro to WSL2?
WSL Junior