# whoami > Print the username associated with the current effective user ID. > More information: . - Display currently logged username: `whoami` - Display the username after a change in the user ID: `sudo whoami`