Linux/Wsl2Windows
- WSL is a way to run Linux on windows10 machine without installing VM (2020)
Basic operrations in Windows
- wsl --list --all
Errors and fix's
- mv, even as root, gives error under Windows WSL2
- possible WSL Windows bug, locking files.
- Workaround: Close vscode and all WSL windows, open single terminal and do mv / rename
Can't ssh - Blocked by FW ??? - https://github.com/microsoft/WSL/issues/5755
Cant ping
$ ping 192.168.20.227 ping: socket: Operation not permitted
Fix add capability, but in WSL debian deployment.
$ sudo setcap cap_net_raw+p /bin/ping