[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 项目~

作者:cjdty

出处:https://www.cnblogs.com/cjdty/p/16402109.html

版权:本作品采用「署名-非商业性使用-相同方式共享 4.0 国际」许可协议进行许可。

posted @   Startu  阅读(1618)  评论(0编辑  收藏  举报
相关博文:
阅读排行:
· 物流快递公司核心技术能力-地址解析分单基础技术分享
· .NET 10首个预览版发布:重大改进与新特性概览!
· 单线程的Redis速度为什么快?
· 展开说说关于C#中ORM框架的用法!
· Pantheons:用 TypeScript 打造主流大模型对话的一站式集成库
more_horiz
keyboard_arrow_up light_mode palette
选择主题
点击右上角即可分享
微信分享提示