The ~
user shorthand variable refers to a
user's home directory (allowing the
user to navigate to it from anywhere else in the filesystem, or use it in other Unix commands). ... The superuser's
home directory on older systems was /, but on many newer systems it is located at /root (
Linux, BSD), or /var/root (Mac OS X).
read more >>