Editing Files on Mac OS X

  • When editing files, you can use your favourite text editor. In this guide, all the Mac OS X procedures use the vi text editor.
  • You must be logged in using the root account. If not, type sudo before launching the command. For example:

sudo vi hosts