Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I am new to Mac OS. Before I usually used Linux, and /home/your_account directory is used to store personal files, which in Mac, I found, are stored in /Users/your_account. /home is empty and it is a root directory. Thus, I am wondering about the function of this directory. Could anyone give some advice or tips? Thanks.

share|improve this question

migrated from stackoverflow.com Dec 27 '12 at 3:39

This question came from our site for professional and enthusiast programmers.

3  
For me it is completely empty. Legacy cruft would be my guess. –  Thilo Dec 27 '12 at 1:34
    
Somewhat marginally related: stackoverflow.com/questions/1362703/… –  Thilo Dec 27 '12 at 1:35
    
apple.stackexchange.com/questions/9341/… –  Darren Dec 27 '12 at 1:54
    
Are you referring to the hidden volume? –  ArtOfWarfare Dec 27 '12 at 2:16
    
Thanks. That's what I want, I think. @Darren –  onpduo Dec 27 '12 at 2:24

2 Answers 2

up vote 2 down vote accepted

Simply put, the /home directory is used for nothing on OS X.

While it's typically the location for user homes in Linux and Unix, Mac OS X uses /Users instead. If you want to write portable programs, simply use $HOME or ~ to refer to the home directory.

The official file system overview from Apple makes no mention of /home by the way.

share|improve this answer

the /home directory is for users. It is automatically made upon the creation of a new user.

share|improve this answer
    
This is simply not true. New users are created in /Users. –  slhck Dec 27 '12 at 4:51

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.