pavement

Who

From FreeBSDwiki
(Difference between revisions)
Jump to: navigation, search
 
 
(One intermediate revision by one user not shown)
Line 1: Line 1:
 
[[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.
 
[[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
+
  samizdata# '''whoami'''
 
  root
 
  root
  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