Hosts文件的位置
Operating System | Version(s) | Location |
---|---|---|
Unix, Unix-like, POSIX | /etc/hosts | |
Microsoft Windows | 3.1 | %WinDir%\HOSTS |
Microsoft Windows | 95, 98, ME | %WinDir%\hosts |
Microsoft Windows | NT, 2000, XP, 2003, Vista, 2008, 7, 2012, 8, 10 | %SystemRoot%\System32\drivers\etc\host |
直接在Google上输入”windows hosts”就出来了