Displaying your current username

To display the current effective username by which you are known to the system use the command:

   whoami

This is a useful command if you have several accounts on a system and switch between them using the su command.


[Home] [Search] [Index] This site maintained by webmaster@softlab.ece.ntua.gr