linux下更换hosts

2017-04-06 20:35:33 -0400
步骤一:
wget https://raw.githubusercontent.com/racaljk/hosts/master/hosts -qO /tmp/hosts
步骤二:
sudo sh -c 'cat /tmp/hosts > /etc/hosts'
«Newer      Older»

----Comments(1)----
@c11e | @ at 2017-04-07 00:36:
一步即可:
sudo curl https://raw.githubusercontent.com/racaljk/hosts/master/hosts > /etc/hosts
Comment:
Name:

Back to home

Subscribe | Register | Login | N