WHOAMI(1) User Commands WHOAMI(1)

whoami - display the effective current username

whoami

Whoami prints the user name associated with its effective user id. If invoked after su(1), the newly assumed name is printed, instead of the name previously used for logging in.

id(1), who(1)

10/26/03 Heirloom Toolchest