Whoami Command - Display Username | Online Free DevTools by Hexmos
Display username with Whoami command, manage user identity. Quickly identify logged in user with this simple command. Free online tool, no registration required.
whoami
Print the username associated with the current effective user ID. More information: https://www.gnu.org/software/coreutils/manual/html_node/whoami-invocation.html.
- Display currently logged username:
whoami
- Display the username after a change in the user ID:
sudo whoami