edit hosts file code example
Example 1: host file windows 10
C:\Windows\System32\drivers\etc
Example 2: window host file
c:\Windows\System32\Drivers\etc\hosts
Example 3: edit hosts file mac terminal
sudo nano /etc/hosts
Example 4: edit hosts file linux
sudo vim /etc/hosts