Hosts (file) - Location in The File System

Location in The File System

The location of the hosts file in the file system hierarchy varies by operating system. The hosts file is usually named "hosts" without any .txt extension.

Operating System Version(s) Location
Unix, Unix-like, POSIX /etc/hosts
Microsoft Windows 3.1 %WinDir%\HOSTS
95, 98/98SE, Me %WinDir%\hosts
NT, 2000, XP (x86 & x64), 2003, Vista, 7 and 8 %SystemRoot%\system32\drivers\etc\hosts
Windows Mobile Registry key under HKEY_LOCAL_MACHINE\Comm\Tcpip\Hosts
Apple Macintosh 9 and earlier
Mac OS X 10.0 – 10.1.5 (Added through NetInfo or niload)
Mac OS X 10.2 and newer /etc/hosts (a symbolic link to /private/etc/hosts)
Novell NetWare SYS:etc\hosts
OS/2 & eComStation "bootdrive":\mptn\etc\
Symbian Symbian OS 6.1–9.0 C:\system\data\hosts
Symbian OS 9.1+ C:\private\10000882\hosts
MorphOS NetStack ENVARC:sys/net/hosts
AmigaOS 4 DEVS:Internet/hosts
Android /etc/hosts (a symbolic link to /system/etc/hosts)
iOS iOS 2.0 and newer /etc/hosts (a symbolic link to /private/etc/hosts)
TOPS-20 HOSTS.TXT
Plan 9 /lib/ndb/hosts
BeOS /boot/beos/etc/hosts
Haiku /boot/common/settings/network/hosts

Read more about this topic:  Hosts (file)

Famous quotes containing the words file and/or system:

    While waiting to get married, several forms of employment were acceptable. Teaching kindergarten was for those girls who stayed in school four years. The rest were secretaries, typists, file clerks, or receptionists in insurance firms or banks, preferably those owned or run by the family, but respectable enough if the boss was an upstanding Christian member of the community.
    Barbara Howar (b. 1934)

    The North American system only wants to consider the positive aspects of reality. Men and women are subjected from childhood to an inexorable process of adaptation; certain principles, contained in brief formulas are endlessly repeated by the press, the radio, the churches, and the schools, and by those kindly, sinister beings, the North American mothers and wives. A person imprisoned by these schemes is like a plant in a flowerpot too small for it: he cannot grow or mature.
    Octavio Paz (b. 1914)