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