Deepin如何更改hosts文件
Tofloor
poster avatar
shangrilas
deepin
2016-04-02 01:36
Author
请问下大神们   Deepin如何更改hosts文件 ,deepin下的hosts文件格式和windows下有什么大不同么?
Reply Favorite View the author
All Replies
avatar
不避风云
deepin
2016-04-02 02:06
#1
百度谷歌hosts快照。老害怕查电费了,不说了。
Reply View the author
avatar
MattD
deepin
2016-04-02 02:07
#2
换行符不同,用dos2unix转一下就行了
Reply View the author
avatar
u855697021
deepin
2016-04-02 02:11
#3
没什么不同啊,/etc/hosts啊...
另外看Windows下hosts的Path是C:\Windows\system32\drivers\etc\hosts,分分中就可以看出Windows山寨了BSD的网络栈...
Reply View the author
avatar
shangrilas
deepin
2016-04-02 04:00
#4
https://bbs.deepin.org/post/38497
没什么不同啊,/etc/hosts啊...
另外看Windows下hosts的Path是C:\Windows\system32\drivers\etc\hosts,分 ...

拷贝windows下的hosts的内容到deepin下面的hosts文件修改,该完了 提示错误啊
Reply View the author
avatar
starcnt
deepin
2016-04-02 04:13
#5
https://bbs.deepin.org/post/38497
拷贝windows下的hosts的内容到deepin下面的hosts文件修改,该完了 提示错误啊

需要加sudo命令提权,sudo gedit /etc/hosts
Reply View the author
avatar
carrjay
deepin
2016-04-02 06:52
#6
sudo nautlus /etc/hosts打开后的文件夹就有读写删除新建权限了
Reply View the author
avatar
平常陌生人
deepin
2017-04-23 20:46
#7
https://bbs.deepin.org/post/38497
需要加sudo命令提权,sudo gedit /etc/hosts

亲测有效,谢谢。
Reply View the author
avatar
Guumi
deepin
2017-04-23 21:25
#8
sudo gedit /etc/hosts

修改保存后,记得关闭退出
Reply View the author
avatar
shangrilas
deepin
2017-05-13 16:52
#9
https://bbs.deepin.org/post/38497
sudo gedit /etc/hosts

修改保存后,记得关闭退出

O(∩_∩)O谢谢
Reply View the author
avatar
xiaobaiahui
deepin
2017-08-05 16:53
#10
https://bbs.deepin.org/post/38497
sudo gedit /etc/hosts

修改保存后,记得关闭退出

大佬讲一下具体操作吧
Reply View the author
avatar
Guumi
deepin
2017-08-06 14:39
#11
https://bbs.deepin.org/post/38497
大佬讲一下具体操作吧

度娘hosts 上面会讲的很清楚的,不同系统的操作也会说
Reply View the author