Just like on other Unix systems, it's $USER
and $LOGNAME
. And $HOME
is the path to the home directory /Users/someuser
.
Mac OS X User Profile folder?
-
11-04-2022 - |
Domanda
Does anybody know the default environment variables in MAC OS X? What is the variable for user's folder?
For example if the path in MAC OS X is "/Users/someuser/Applications" Then what is the variable for the "someuser"?
Soluzione
Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow