whoami - print effective userid

syntax
$ whoami [option]

To show the name of the currently logged-in user
$ whoami

To check an account for sudo permissions
$ sudo whoami



regards,
T.Dhanasekar