Skip to content

Instantly share code, notes, and snippets.

@wtfc0d3
Last active June 16, 2021 10:54
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save wtfc0d3/e53b5aca99275215455f3517bc32a844 to your computer and use it in GitHub Desktop.
Save wtfc0d3/e53b5aca99275215455f3517bc32a844 to your computer and use it in GitHub Desktop.
Все про WSL

Остановка запущенного образа

Если просто закрыть вкладку, то WSL дистрибутив останется запущенным.

# Список запущенных дистрибутивов
PS C:\Users\Sergey> wsl.exe --list --running
Windows Subsystem for Linux Distributions:
Ubuntu-20.04 (Default)

# Остановка
PS C:\Users\Sergey> wsl -t 'Ubuntu-20.04'

PS C:\Users\Sergey> wsl.exe --list --running
There are no running distributions.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment