Edit Host file in Mac - praveen0314/Automation-Framework GitHub Wiki

Edit Host File in MAC

  • Open Terminal
  • Put the command - sudo nano /etc/hosts
  • Enter Admin PWD
  • Add the URL
  • Once adding the URL Hold Control+O for Save file and click Return
  • Control+X for Exit
  • Kill the terminal and open again and check whether the URL saved as expected or not.