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

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



NAME    [Toc]    [Back]

     whoami -- display effective user id

SYNOPSIS    [Toc]    [Back]


DESCRIPTION    [Toc]    [Back]

     The whoami utility has been obsoleted by the id(1) utility, and is equivalent
 to ``id -un''.  The command ``id -p'' is suggested for normal
     interactive use.

     The whoami utility displays your effective user ID as a name.

DIAGNOSTICS    [Toc]    [Back]

     The whoami utility exits 0 on success, and >0 if an error occurs.

SEE ALSO    [Toc]    [Back]


FreeBSD 5.2.1			 June 6, 1993			 FreeBSD 5.2.1
[ Back ]
 Similar pages
Name OS Title
whoami IRIX display the effective current username
cuserid FreeBSD get user name associated with effective UID
pxfgeteuid IRIX Gets effective user ID
setreuid Tru64 Set real and effective user IDs
setreuid HP-UX set real and effective user IDs
getuid Tru64 Get the real or effective user ID
setreuid OpenBSD set real and effective user IDs
seteuid Linux set effective user or group ID
geteuid Tru64 Get the real or effective user ID
geteuid HP-UX get real user, effective user, real group, and effective group IDs
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service