where is host file in mac os code example Example: view host entires mac terminal sudo nano /etc/hosts