Editing Host file in MAC

Creation date: 11/16/2021 11:40 AM    Updated: 11/16/2021 11:40 AM    host host file hosts mac osx
  • Commands can be run from the Terminal
  • In order to run commands with administrative/root privileges, you can use sudo or su
    • sudo is only good for the command being ran in the same line
    • su can be used to run an entire session with elevated privileges - this may be required
    • nano is a text editor inside of the terminal
  1. Run "su"
  2. Run nano \etc\hosts
  3. Now you can edit the host file and save the changes
Requires Detailed Issue description and screen shot documentation