pavement

Whoami

From FreeBSDwiki
(Difference between revisions)
Jump to: navigation, search
(oueltrel)
Line 1: Line 1:
 +
ractrocco
 
[[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]].
 
[[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]].
  

Revision as of 17:50, 31 December 2007

ractrocco 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)
Personal tools