导入Ubuntu
#启用Linux子系统:
dism.exe /online /enable-feature /featurename:Microsoft-Windows-Subsystem-Linux /all /norestart
#启用虚拟机可选平台:
dism.exe /online /enable-feature /featurename:VirtualMachinePlatform /all /norestart
#导入Ubuntu压缩包:
wsl.exe --import Ubuntu_1804 <导入地址> <压缩包所在地址>\ubuntu_bf.tar
#WSL命令
https://docs.microsoft.com/zh-cn/windows/wsl/reference
常用cmd命令
查看计算机名
net config workstation
作为管理员运行
netsh winsock reset
跳转文件目录
cd
后续待更新!