*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->HP-UX 11i man pages -> whoami (1)              


 whoami(1)                                                         whoami(1)

 NAME    [Toc]    [Back]
      whoami - print effective current user id

 SYNOPSIS    [Toc]    [Back]

 DESCRIPTION    [Toc]    [Back]
      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    [Toc]    [Back]
      /etc/passwd         name data base

 AUTHOR    [Toc]    [Back]
      whoami was developed by the University of California, Berkeley.

 SEE ALSO    [Toc]    [Back]

 Hewlett-Packard Company            - 1 -   HP-UX 11i Version 2: August 2003
[ Back ]
 Similar pages
Name OS Title
users Linux print the user names of users currently logged in to the current host
whoami Linux print effective userid
id Linux print real and effective UIDs and GIDs
whoami IRIX display the effective current username
pxfgeteuid IRIX Gets effective user ID
cuserid FreeBSD get user name associated with effective UID
geteuid Tru64 Get the real or effective user ID
getuid Tru64 Get the real or effective user ID
setreuid HP-UX set real and effective user IDs
whoami OpenBSD display effective user ID
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service