pavement

Whoami

From FreeBSDwiki
Revision as of 14:20, 7 October 2004 by Dave (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

whoami will display who you're currently logged in as; if I log in as user dave but then su to root, I'll get the following results. Compare to who.

samizdata# whoami
root
samizdata# who am i
dave             ttyp0    Oct  6 14:21 (10.67.1.108)
samizdata#
Personal tools