WSL (Windows Subsystem for linux): Unterschied zwischen den Versionen

Aus Wiki-WebPerfect
Wechseln zu: Navigation, Suche
(Die Seite wurde neu angelegt: „== Useful commands == '''Get WSL instances state an version:''' wsl -l -v '''Set WSL default version for new distributions:''' wsl --set-default-version 2 '''…“)
 
Zeile 1: Zeile 1:
 
== Useful commands ==
 
== Useful commands ==
  
'''Get WSL instances state an version:''' wsl -l -v
+
'''Get WSL instances state an version:''' wsl -l -v <br>
'''Set WSL default version for new distributions:''' wsl --set-default-version 2
+
'''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
+
'''Set WSL instance version 2 (example with kali-linux distribution):''' wsl --set-version kali-linux 2 <br>
  
  

Version vom 18. Juni 2020, 14:19 Uhr

Useful commands

Get WSL instances state an version: wsl -l -v
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