Linux: Who is logged in? How to get the information
In Linux you can create different users. So that you know which user is currently logged into Linux, you can simply have this information specified. This way you keep track and always use the right profile.
Easily get the right information
Even if several users use the same device, it can quickly become confusing. But you can use a simple command to get the necessary information.- Select the terminal or open the application with the key combination of CTRL + ALT + T. You must press the keys simultaneously.
- Now enter the command "who" in the appropriate line and confirm your entry with Enter.
- Now you can see all users who are currently logged in. It is advisable that only the user who is actively using the device is logged in.