Windows Subsystem For Linux (WSL): Unterschied zwischen den Versionen
Aus MattWiki
Matt (Diskussion | Beiträge) (Die Seite wurde neu angelegt: „== Basic Commands == wsl --list wsl --list -v # Show running status wsl -d <distro> # Run specific distribution wsl -u <username> # Run image with specific wsl -u root # Run image as root == Clone Image == wsl --export <distro> <filename.tar.gz> wsl --import <new-distro-name> <distrolocation> <filename.tar.gz> Remarks: Location of distros is %LOCALAPPDATA%\packages\<subfo…“) |
Matt (Diskussion | Beiträge) Keine Bearbeitungszusammenfassung |
||
Zeile 15: | Zeile 15: | ||
or | or | ||
C:\Users\<username>\AppData\Local\packages\<subfolder-for-distro> | C:\Users\<username>\AppData\Local\packages\<subfolder-for-distro> | ||
[[Kategorie:Windows]] | |||
[[Kategorie:Terminal]] | |||
[[Kategorie:Linux]] |
Version vom 7. Dezember 2023, 16:28 Uhr
Basic Commands
wsl --list wsl --list -v # Show running status wsl -d <distro> # Run specific distribution wsl -u <username> # Run image with specific wsl -u root # Run image as root
Clone Image
wsl --export <distro> <filename.tar.gz> wsl --import <new-distro-name> <distrolocation> <filename.tar.gz>
Remarks:
Location of distros is
%LOCALAPPDATA%\packages\<subfolder-for-distro>
or
C:\Users\<username>\AppData\Local\packages\<subfolder-for-distro>