how to check system host file in mac os code example Example: view host entires mac terminal sudo nano /etc/hosts