How to modified Host File Yosemite

Discussion in 'OS X Yosemite (10.10)' started by camelia, May 13, 2015.

  1. camelia macrumors member

    camelia

    Joined:
    Apr 3, 2015
    Location:
    Mexico City
    #1
    Hi,

    I can't modified my host file running Yosemite, any how to tutorial?

    Thanks
    Camelia
     
  2. slayerizer macrumors 6502a

    slayerizer

    Joined:
    Nov 9, 2012
    Location:
    Canada
    #2
    open the Terminal application:


    Code:
    sudo su -
    nano /etc/hosts

    do the changes and CTRL-X to exit, it will ask you to save the file.
     
  3. soloer macrumors 6502a

    soloer

    Joined:
    Sep 27, 2004
    Location:
    Omaha
    #3
    Or the one-line version:

    Code:
    sudo nano /etc/hosts
    
     

Share This Page