Answers for "file etc/hosts"

3

hosts file

// windows
notepad C:windowssystem32driversetchosts
// mac and linux
sudo nano /etc/hosts
Posted by: Guest on June-21-2021
2

/etc/hosts

All operating systems with network support have a hosts file to translate
hostnames to IP addresses.

In linux OSs the file is located in /etc/hosts.
This is (sort of) like a DNS cache at the OS level.
Posted by: Guest on September-19-2021

Browse Popular Code Answers by Language