freebsd man page for whoami

Query: whoami

OS: freebsd

Section: 1

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

WHOAMI(1)						    BSD General Commands Manual 						 WHOAMI(1)

NAME
whoami -- display effective user id
SYNOPSIS
whoami
DESCRIPTION
The whoami utility has been obsoleted by the id(1) utility, and is equivalent to ``id -un''. The command ``id -p'' is suggested for normal interactive use. The whoami utility displays your effective user ID as a name.
EXIT STATUS
The whoami utility exits 0 on success, and >0 if an error occurs.
SEE ALSO
id(1)
BSD
June 6, 1993 BSD
Related Man Pages
printenv(1) - mojave
hostconfig(1m) - opensolaris
nice(1) - netbsd
hostconfig(1m) - sunos
printenv(1) - freebsd
Similar Topics in the Unix Linux Community
The "Whoami" command
whoami export
sudo chown -R `whoami` /usr/local
Whoami error
Capture whoami log on a specific command