Hi
The answer to this question is the 'whoami' command.
The 'who' command returns all the users currently logged in to the system.
The 'id' command returns the current user's id (uid), their group id (gid) and all groups they are members of.
I am not aware of the username command!
Regards
AA
Red Hat
Learning Community
A collaborative learning environment, enabling open source skill development.