view host entires mac terminal

Shell
sudo nano /etc/hosts
Source

Also in Shell: