Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

CentOS 7.0 - man page for whoami (centos section 1)

WHOAMI(1)							   User Commands							 WHOAMI(1)

whoami - print effective userid
whoami [OPTION]...
Print the user name associated with the current effective user ID. Same as id -un. --help display this help and exit --version output version information and exit GNU coreutils online help: <> Report whoami translation bugs to <>
Written by Richard Mlynarik.
Copyright (C) 2013 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <>. This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law.
The full documentation for whoami is maintained as a Texinfo manual. If the info and whoami programs are properly installed at your site, the command info coreutils 'whoami invocation' should give you access to the complete manual. GNU coreutils 8.22 June 2014 WHOAMI(1)