Sometimes I need to test SharePoint web applications on Mac OS X (Safari), and for that I need edit the hosts file. And the process of doing so is not as strait forward (for me), as on a Windows PC.
In order to edit the hosts file do the following:
1. Open the terminal klient
2. Browse to the hosts file
cd \
cd etc
3. run the pico hosts as administrator
sudo pico hosts
enter the password of the administrator
From here it is possible to edit the hosts entry. Exit using the ^X command (Ctrl+x).
all posts