WSL无法使用ping命令
问题:
$ ping github.com
ping: socktype: SOCK_RAW
ping: socket: Operation not permitted
ping: => missing cap_net_raw+p capability or setuid?
解决方法:
$ sudo setcap cap_net_raw+p /bin/ping
参考:https://github.com/microsoft/WSL/issues/5109