What is /home directory in Mac OS used for?
Simply put, the /home
directory is used for nothing on macOS.
While it's typically the location for user homes in Linux and Unix, macOS uses /Users
instead. If you want to write portable programs, simply use $HOME
or ~
to refer to the home directory.