how to see your host file on mac code example Example: view host entires mac terminal sudo nano /etc/hosts