how to make host entry in mac code example Example: view host entires mac terminal sudo nano /etc/hosts