WHOAMI command in Unix

PREV     NEXT

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.


Ex:



Share this website !!!
Facebook Twitter Linkedin