bsd man page for whoami

Query: whoami

OS: bsd

Section: 1

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

WHOAMI(1)						      General Commands Manual							 WHOAMI(1)

NAME
whoami - print effective current user id
SYNOPSIS
whoami
DESCRIPTION
Whoami prints who you are. It works even if you are su'd, while `who am i' does not since it uses /var/run/utmp.
FILES
/etc/passwd Name data base
SEE ALSO
who (1) 3rd Berkeley Distribution November 27, 1996 WHOAMI(1)
Related Man Pages
wtmp(5) - osx
lastlog(5) - mojave
lastcomm(1) - opendarwin
last(1) - opendarwin
who(1) - osf1
Similar Topics in the Unix Linux Community
The "Whoami" command
Finding whoami
sudo chown -R `whoami` /usr/local
Whoami error
Capture whoami log on a specific command