macos host file code example
Example 1: mac host file
sudo nano /etc/hosts
sudo killall -HUP mDNSResponder
Example 2: view host entires mac terminal
sudo nano /etc/hosts
sudo nano /etc/hosts
sudo killall -HUP mDNSResponder
sudo nano /etc/hosts