Linux command: whoami

Quick startwhoamiCommand, used to print the current user name

Types ofwhoamiPrint the user name currently logged in to the terminal session:

Note: this is the same aswho am iCommand to display more information

ThiswhoamiThis command can be used in Linux, macOS, WSL and wherever you have a UNIX environment

Download mine for freeLinux Command Manual

More cli tutorials: