From e3d2bec306ff2906002a9c673d3f50a7be2e2a30 Mon Sep 17 00:00:00 2001 From: ZL <158928215@qq.com> Date: Tue, 4 Apr 2023 10:13:31 +0800 Subject: [PATCH] Update README.md MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit sudo -i, 防止 permission denied 报错 --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index ce86a85f7..ef72753ae 100644 --- a/README.md +++ b/README.md @@ -135,7 +135,9 @@ hosts 文件在每个系统的位置不一,详情如下: #### GNU(Ubuntu/CentOS/Fedora) +`sudo -i` `sed -i "/# GitHub520 Host Start/Q" /etc/hosts && curl https://raw.hellogithub.com/hosts >> /etc/hosts` +`exit` #### BSD/macOS