totn Linux

Linux: whoami command

This Linux tutorial explains how to use the Linux whoami command with syntax and arguments.

NAME

whoami - print effective userid

SYNOPSIS

whoami [OPTION]...

DESCRIPTION

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