Quickly Find The Username Of Originally Logged In User Using Linux Command Line
When using Linux Terminal (either in Ubuntu, Linux Mint or any other distribution) it is possible that the current user working at the Terminal will be different then the one that originally logged in.
The below command will display the username that originally logged in to the system.
logname
To know who is the current user at the Terminal, type :
whoami
Both these commands can display different user...