As we know, Linux is a multi-user OS. This means multiple users can access the system at the same time.
To check which user you are logged in as, type ‘whoami‘ in the terminal. We get the following result:
whoami
myuser
To logout the current user, we type’logout‘
logout
That’s all in this article! If you have any questions and/or suggestions, do write to us or comment below.