How can I get the OS X username using bash. The one that is displayed in the Finder UI for example.
For me it’s Clément
but when I run whoami
or echo $USER
I got clement
which is the username that is used in a lower level, by the file system for example (/Users/clement
).