I saw reference to a bash command,
cd /home, in a multiple choice quiz about navigating within Terminal. I tried it, expecting
-bash: cd: /home: No such file or directory, but to my surprise it took me to a top level directory /home. I don't know if it just created the directory or if it was already there, or if it's a temporary thing or what.
I've googled around for info on the hidden top level directories (/var, /usr, /private, /etc, ...) but none mention a /home directory. Using
ls -al from / yields (omitting all but the relevant line):
dr-xr-xr-x 2 root wheel 1 Sep 6 15:57 home
ls -al from within /home yields
total 2 dr-xr-xr-x 2 root wheel 1 Sep 6 15:57 . drwxr-xr-x 30 root wheel 1088 Aug 17 17:17 ..
I was surprised at how hard it was to track down a comprehensive (or even partial) directory tree showing what/where stuff is (beyond what shows up in Finder).
Can anyone help me out?