WIN10子系统(WSL)的启用与关闭(Startup and shutdown of win10 subsystem (WSL))

WIN10子系统(WSL)的启用与关闭

WSL全称:Windows Subsystem fot Linux

笔者用的子系统是Ubuntu 18.04 LTS

1.启动

打开CMD,输入

bash

2.关闭

同样是打开CMD,输入

wsl --list --verbose

查看WSL的状况

wsl -t [要关闭的WSL的名字]

关闭,在输入第一条命令查看状态是否由Running变为Stopped

————————

Startup and shutdown of win10 subsystem (WSL)

WSL全称:Windows Subsystem fot Linux

The subsystem used by the author is Ubuntu 18.04 LTS

1. Start

Open CMD and enter

bash

2. Close

Similarly, open CMD and enter

wsl --list --verbose

View the status of WSL

wsl -t [要关闭的WSL的名字]

Close and enter the first command to check whether the status changes from running to stopped