WSL (Windows Subsystem for linux): Unterschied zwischen den Versionen
Aus Wiki-WebPerfect
Admin (Diskussion | Beiträge) |
Admin (Diskussion | Beiträge) K |
||
Zeile 3: | Zeile 3: | ||
'''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> | '''Shutdown WSL:''' wsl --shutdown <br> | ||
− | '''Set WSL default version for new distributions:''' wsl --set-default-version 2 <br> | + | '''Set WSL default version to 2 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:50 Uhr
Useful commands
Get WSL instances state an version: wsl -l -v
Shutdown WSL: wsl --shutdown
Set WSL default version to 2 for new distributions: wsl --set-default-version 2
Set WSL instance version 2 (example with kali-linux distribution): wsl --set-version kali-linux 2