1
0
mirror of synced 2024-07-03 02:15:17 +08:00
This commit is contained in:
xueweihan 2023-07-02 23:48:08 +08:00
parent d09102d0d7
commit bcc9565ced

View File

@ -89,11 +89,7 @@ hosts 文件在每个系统的位置不一,详情如下:
#### GNUUbuntu/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