Query: whoami
OS: mojave
Section: 1
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
WHOAMI(1) BSD General Commands Manual WHOAMI(1)NAMEwhoami -- display effective user idSYNOPSISwhoamiDESCRIPTIONThe 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 STATUSThe whoami utility exits 0 on success, and >0 if an error occurs.SEE ALSOid(1)BSDJune 6, 1993 BSD
| Related Man Pages | 
|---|
| whoami(1b) - opensolaris | 
| hostconfig(1m) - opensolaris | 
| id(1) - freebsd | 
| userinfo(8) - netbsd | 
| id(1) - osx | 
| 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 |