undo terminal command

Discussion in 'Mac Basics and Help' started by checkok, Oct 9, 2011.

  1. checkok, Oct 9, 2011
    Last edited: Oct 9, 2011

    checkok macrumors newbie

    Joined:
    Jun 29, 2010
    Location:
    Santiago
    #1
    after searching for an answer in the web regarding the recent appearance of a "private folder" in my mac, i typed a command in terminal and now my hard disk is no longer visible in my desktop.
    the command was:

    sudo chflags hidden /private/

    how can i undo this?

    thanks
    checkok
    MacBook 2.0 MHz 3GB 10.6.8
     
  2. Intell macrumors P6

    Intell

    Joined:
    Jan 24, 2010
    Location:
    Inside
  3. checkok thread starter macrumors newbie

    Joined:
    Jun 29, 2010
    Location:
    Santiago
    #3
    i entered the command, rebooted and my HD is still not there
     
  4. Intell macrumors P6

    Intell

    Joined:
    Jan 24, 2010
    Location:
    Inside
    #4
    Sorry about that, its "sudo chflags nohidden /private/"
     
  5. Nermal Moderator

    Nermal

    Staff Member

    Joined:
    Dec 7, 2002
    Location:
    New Zealand
    #5
    Just to check, go into Finder Preferences > General and make sure that Hard Disks is selected.
     
  6. checkok thread starter macrumors newbie

    Joined:
    Jun 29, 2010
    Location:
    Santiago
    #6
    thanks Intell, this time it did the job.

    Nermal, thanks for checking.
     

Share This Page