wsl
CautionWindows Subsystem for Linux
wsl
Runs/manages Linux on Windows. --list -v shows state; --shutdown is the fix-everything restart.
Examples
wsl --shutdownRestart the whole WSL VM
Syntax
wsl [--install] [--list -v] [--shutdown] [-d distro]
Before you run it
--shutdown kills running Linux work.
Related commands
- cat /etc/os-releaseIdentify the distro
- wingetWindows package manager
The same reference, with no signal at all
Every command on this site, held on your device. The app adds 632 more: 1,510 commands and 120 fix flows, searchable with no connection. Free to install, no ads (some content is a one-time purchase).
Get it free on the App Store