What does this mean?

Discussion in 'macOS' started by Silas1066, May 31, 2010.

  1. Silas1066 macrumors regular

    Joined:
    Nov 1, 2009
    #1
    ~/Library/

    vs.

    /Library/

    what does the ~ symbol denote?
     
  2. spinnerlys Guest

    spinnerlys

    Joined:
    Sep 7, 2008
    Location:
    forlod bygningen
    #2
    ~ is you home directory as in Macintosh HD / Users / YOU.

    ~ can be used in Terminal to quickly switch to your home directory.
     
  3. Hellhammer Moderator

    Hellhammer

    Staff Member

    Joined:
    Dec 10, 2008
    Location:
    Finland
    #3
    I think ~/Library is Mac HD/user/Library while just /Library/ is Mac HD/Library
     
  4. calderone macrumors 68040

    calderone

    Joined:
    Aug 28, 2009
    Location:
    Seattle
    #4
    It can also be used in Finder, such as in the "Go To Folder" function among other places it is recognized.
     
  5. iThinkergoiMac macrumors 68030

    Joined:
    Jan 20, 2010
    Location:
    Terra
    #5
    Yup. the ~ symbol just represents your user directory (/Users/youruser/).

    FYI, the other terminal prefix to commands you're likely to see is ./somedirectoy/ The period (.) in front simply means whatever directory you are currently in (super handy for when you're 6 directories deep and you don't want to spell out the whole thing).
     

Share This Page