How do I find out what the home directory is?

Discussion in 'macOS' started by komatsu, Nov 17, 2016.

  1. komatsu macrumors 6502

    Joined:
    Sep 19, 2010
    #1
    I need to run a terminal command within the OS X recovery mode environment. The particular command needs the home directory or root.

    How do I find out what the home directory is?

    (Remember, this Mac is NOT booting, I can only get into recovery mode)
     
  2. KALLT macrumors 601

    Joined:
    Sep 23, 2008
    #2
    In Recovery, the Macintosh HD volume is mounted separately at a different path, similar to an external drive. You can see that path with the “df” (without quotes) command, or you can list it with “ls -l /Volumes”. From there you will find the home directories of the users in Users/, e.g. /Volumes/Macintosh HD/Users/.

    Which command do you intend to use?
     

Share This Page