[ Next Article |
Previous Article |
Book Contents |
Library Home |
Legal |
Search ]
Commands Reference, Volume 6
whoami Command
Purpose
Displays your login name.
whoami
Description
The whoami command displays your login name. Unlike using the command who and specifying am i, the whoami command also works when you have root authority since it does not examine the /etc/utmp file.
Files
/etc/passwd |
Contains user IDs. |
Related Information
The who command.
[ Next Article |
Previous Article |
Book Contents |
Library Home |
Legal |
Search ]