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

  man pages->IRIX man pages -> whoami (1)              


whoami(1)							     whoami(1)

NAME    [Toc]    [Back]

     whoami - display the effective current username

SYNOPSIS    [Toc]    [Back]


DESCRIPTION    [Toc]    [Back]

     whoami displays the login name corresponding to the current effective
     user ID.  If you have used	su to temporarily adopt	another	user, whoami
     will report the login name	associated with	that user ID.  whoami gets its
     information from the geteuid and getpwuid library routines	(see getuid
     and getpwent, respectively).

FILES    [Toc]    [Back]

     /etc/passwd	 username data base

SEE ALSO    [Toc]    [Back]

     su(1), who(1), getuid(2), getpwent(3)

NOTES    [Toc]    [Back]

     The whoami	command	provided in versions of	IRIX prior to 5.0 was a
     symbolic link to /usr/bin/id(1).

									PPPPaaaaggggeeee 1111
[ Back ]
 Similar pages
Name OS Title
cuserid Tru64 Get the alphanumeric username associated with the current process
whoami OpenBSD display effective user ID
whoami FreeBSD display effective user id
whoami HP-UX print effective current user id
glXGetCurrentDisplay Tru64 get display for current context
glxgetcurrentdisplay IRIX get display for current context
domainname Linux set or display name of current domain
domainname IRIX set or display name of current NIS domain
getdisplaymode IRIX returns the current display mode
glxgetcurrentdisplayext IRIX returns the display for the current context
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service