Linux Comm Whoami
# Linux whoami Command
[ Linux Command Manual](#)
The Linux whoami command is used to display the current user's name.
It displays the current user's name. This command is equivalent to executing the `id -un` command.
### Syntax
whoami
**Parameter Description**:
* --help Online help.
* --version Display version information.
### Example
Display the username
# whoami root
[ Linux Command Manual](#)
YouTip