pavement

Who

From FreeBSDwiki
(Difference between revisions)
Jump to: navigation, search
m
 
Line 5: Line 5:
 
  samizdata# '''who am i'''
 
  samizdata# '''who am i'''
 
  dave            ttyp0    Oct  6 14:21 (10.67.1.108)
 
  dave            ttyp0    Oct  6 14:21 (10.67.1.108)
samizdata#
+
 
 +
[[Category:System Commands]]

Latest revision as of 13:33, 9 October 2004

who (also with the arguments "am i" or "mom likes" on some systems) shows you what username you logged in as. Compare to whoami, which shows you what user the system thinks you currently are.

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