From bcc9565cedd57f40f110655eeff2412a610f2991 Mon Sep 17 00:00:00 2001 From: xueweihan <595666367@qq.com> Date: Sun, 2 Jul 2023 23:48:08 +0800 Subject: [PATCH] update --- README_template.md | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/README_template.md b/README_template.md index b7c57a1a5..7e8661f74 100644 --- a/README_template.md +++ b/README_template.md @@ -89,11 +89,7 @@ hosts 文件在每个系统的位置不一,详情如下: #### GNU(Ubuntu/CentOS/Fedora) -``` -sudo -i -sed -i "/# GitHub520 Host Start/Q" /etc/hosts && curl https://raw.hellogithub.com/hosts >> /etc/hosts` -exit -``` +`sudo sh -c 'sed -i "/# GitHub520 Host Start/Q" /etc/hosts && curl https://raw.hellogithub.com/hosts >> /etc/hosts'` #### BSD/macOS