查看hosts 中包含github的行
grep “github” /etc/hosts
删除hosts中包含github的行
sed -i ‘/github/d’ /etc/hosts
查看结果
grep “github” /etc/hosts
ubuntu 能ping通 不能打开GitHub
最新推荐文章于 2024-01-23 19:49:51 发布
查看hosts 中包含github的行
grep “github” /etc/hosts
删除hosts中包含github的行
sed -i ‘/github/d’ /etc/hosts
查看结果
grep “github” /etc/hosts