Saturday, 19 April 2014

Where are the host files located in Mac OS X Lion


in windows 7 in /windows/system32/drivers/etc/ host files in mac lion os x located?
 

step 1 – open terminal.app

either start typing terminal on spotlight, or going applications -> utilities -> terminal.

step 2 – open hosts file

open hosts typing on terminal have opened:

code:
$ sudo nano /private/etc/hosts
type user password when prompted.

step 3 – edit hosts file


step 4 – save hosts file

when done editing hosts file, press control-o save file.
press enter on filename prompt, , control-x exit editor.
 


Forums Macs macOS Older OS X Versions Mac OS X Lion (10.7)


  • iPhone
  • Mac OS & System Software
  • iPad
  • Apple Watch
  • Notebooks
  • iTunes
  • Apple ID
  • iCloud
  • Desktop Computers
  • Apple Music
  • Professional Applications
  • iPod
  • iWork
  • Apple TV
  • iLife
  • Wireless

No comments:

Post a Comment