:qa!(强制退出)
sudo vim filename
和更高版本::wq
2.Bash script – "/bin/bash^M: bad interpreter: No such file or directory" [duplicate]
cat -A scriptname.sh (检查)
sed -i -e 's/\r$//' scriptname.sh (修改)
cat -A scriptname.sh (检查)
下载安装适用于 x64 计算机的最新?WSL2?Linux 内核更新包
下载链接:https://wslstorestorage.blob.core.windows.net/wslblob/wsl_update_x64.msi
[experimental]
autoMemoryReclaim=gradual
networkingMode=mirrored
dnsTunneling=true
firewall=true
autoProxy=true
wsl --shutdown