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
whoami(1b) - opensolaris
id(1) - freebsd
userinfo(8) - netbsd
hostconfig(1m) - sunos
whoami(1) - opensolaris
Similar Topics in the Unix Linux Community
The "Whoami" command
Finding whoami
whoami export
Whoami error
Capture whoami log on a specific command