Index Index for
Section 1
Index Alphabetical
listing for W
Bottom of page Bottom of
page

whoami(1)

NAME

whoami - Displays the user's name

SYNOPSIS

whoami

DESCRIPTION

The whoami command displays the username associated with your current ID. Unlike who am i, this command tells you what your effective user ID is, and not who is logged on to your tty (it does not use /var/adm/utmp). If the current user ID is not in the password file, the message Intruder alert is displayed.

FILES

/etc/passwd Contains usernames and IDs.

SEE ALSO

Commands: who(1)

Index Index for
Section 1
Index Alphabetical
listing for W
Top of page Top of
page