[Linux] 快速修改hosts访问github

sudo sed -i '/github/d' /etc/hosts
sudo bash -c "curl https://gitlab.com/ineo6/hosts/-/raw/master/next-hosts | grep github >> /etc/
hosts"

感谢 https://github.com/ineo6/hosts 项目~

posted @ 2022-06-22 19:55  Startu  阅读(1746)  评论(0)    收藏  举报