WSL (Windows Subsystem for linux): Unterschied zwischen den Versionen
Aus Wiki-WebPerfect
Admin (Diskussion | Beiträge) |
Admin (Diskussion | Beiträge) |
||
Zeile 2: | Zeile 2: | ||
'''Get WSL instances state an version:''' wsl -l -v <br> | '''Get WSL instances state an version:''' wsl -l -v <br> | ||
+ | '''Shutdown WSL:''' wsl --shutdown <br> | ||
'''Set WSL default version for new distributions:''' wsl --set-default-version 2 <br> | '''Set WSL default version for new distributions:''' wsl --set-default-version 2 <br> | ||
'''Set WSL instance version 2 (example with kali-linux distribution):''' wsl --set-version kali-linux 2 <br> | '''Set WSL instance version 2 (example with kali-linux distribution):''' wsl --set-version kali-linux 2 <br> |
Version vom 18. Juni 2020, 14:23 Uhr
Useful commands
Get WSL instances state an version: wsl -l -v
Shutdown WSL: wsl --shutdown
Set WSL default version for new distributions: wsl --set-default-version 2
Set WSL instance version 2 (example with kali-linux distribution): wsl --set-version kali-linux 2