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 help as you might switch back and forth between different accounts.
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.
The 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.
The root user can add a new user or modify account’s access levels or delete it etc.
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 IP address associated with it.