linux edit host file code example
Example 1: where is the hosts file in windows 10
Windows 10 and Windows 8 = c:\Windows\System32\Drivers\etc\hosts
Example 2: edit hosts file linux
sudo vim /etc/hosts
Windows 10 and Windows 8 = c:\Windows\System32\Drivers\etc\hosts
sudo vim /etc/hosts