We have many ways to figure out this,
We can also type “id” command on the terminal,
Apart from the above, we can also confirm from the terminal section,
Highlighted in red color is the present user id that you have logged into, this will be help as you might switch back and forth between different accounts.
The above option might not be available in every shell.
If that portion is “$” then it’s a non-root user account.
If that section is “#” symbol, then we can confirm that it’s a root user account.
Root user is an administration account and it will possess all access credentials on the server without any restrictions.
One can install, uninstall a software or modify it.
Root user can add a new user or modify account’s access levels or delete it etc.
In organizations, when we are working as a team we generally denied from root permissions and alternative arrangements are made.
Here, I have logged in through virtual machine and first 2 rows represent that. The last row, represents the terminal connection from PUTTY. That’s why, we can see an ipaddress associated with it.