x

WHOAMI command in Unix

PREV     NEXT

WHOAMI command in Unix:


Whoami command in UNIX is used to find out who (username) is logged into the server. In real time scenario, we might need to login as superuser to perform certain operations. This command would be useful to identify whether we have successfully logged out from the superuser or not.

Example for WHOAMI command in Unix:



Like it? Please Spread the word!