HPlogo HP-UX Reference Volume 1 of 5 > w

whoami(1)

» 

Technical documentation

Complete book in PDF

 » Table of Contents

 » Index

NAME

whoami — print effective current user id

SYNOPSIS

whoami

DESCRIPTION

whoami prints your current user name, even if you have used su to change it since your initial login (see su(1)). The command who am i reports your initial login name because it uses /etc/utmp.

FILES

/etc/passwd

name data base

AUTHOR

whoami was developed by the University of California, Berkeley.

SEE ALSO

who(1).

© Hewlett-Packard Development Company, L.P.