whoami(1) osf1 man page | unix.com

Man Page: whoami

Operating Environment: osf1

Section: 1

whoami(1)						      General Commands Manual							 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
Contains usernames and IDs.
SEE ALSO
Commands: who(1) whoami(1)
Related Man Pages
hostconfig(1m) - opensolaris
id(1) - opendarwin
com_err(3) - netbsd
whoami(1b) - sunos
hostconfig(1m) - sunos
Similar Topics in the Unix Linux Community
The "Whoami" command
Finding whoami
whoami export
sudo chown -R `whoami` /usr/local
Capture whoami log on a specific command