totn UNIX

UNIX Basic commands: whoami

The whoami command displays your username.

Syntax

The syntax for the whoami command is:

whoami

* Please note that there are many flavors of UNIX, so if in doubt, consult your man pages.