Whoami (Unix)

From Wikipedia, the free encyclopedia

The correct title of this article is whoami. The initial letter is shown capitalized due to technical restrictions.

whoami is a Unix-command which outputs the username of the user which runs the command. The username is also stored in the $USER environment variable.

It is written by Richard Mlynarik and part of the GNU Core Utilities (coreutils).

[edit] Example

$ whoami
Alice

[edit] See also

[edit] External links