/usr/bin/whoami
The whoami utility has been obsoleted by the id utility, and is equivalent to “id -un”.