Closed dingiso closed 2 years ago
我用 one-liner 进行更改,但是报以下错误,我怀疑是 hosts 的文件的权限问题,想问问大家都是怎么解决的
sed: cannot rename /etc/sedr40HLE: Device or resource busy
cp /etc/hosts ~/hosts.new && sed -i "/# GitHub520 Host Start/Q" ~/hosts.new && curl https://raw.hellogithub.com/hosts >> ~/hosts.new && cp -f ~/hosts.new /etc/hosts
我用 one-liner 进行更改,但是报以下错误,我怀疑是 hosts 的文件的权限问题,想问问大家都是怎么解决的