There are a series of commands, depending on what and how much information you want on logged in users. The commands are:
who
w
users
finger (if installed)
Ironically, the command to see who is logged into the system is who. You can also see who is logged on using the wcommand.
Well, in the world of Unix, the 'finger' command is like a gentle tap on the shoulder, providing basic information about a user, such as their login name, full name, and the last time they were active. On the other hand, the 'who' command is more like a friendly wave, showing you a list of users who are currently logged into the system, along with details like their usernames and login times. Both commands offer a peek into the community of users on the Unix system, just in different ways.
Use the 'who', 'w', or 'users' command to find out who is logged in.
There are many ways to do this, but the fastest and easiest is to use the 'uptime' command, which will tell you in a summary line how many users are logged in.
If an individual has the same username on the systems being check up on, they could use the command "$ ssh host who" at the prompt for who. This would bring up the listings for all the people who have logged on or off within a certain period of time on this particular system.
Typically the 'exit' command gets you out of the current shell environment you are in; if this is the login shell then you will be logged out of the system.
System Time
users
ifconfig -a
file attrib
Exactly what the name says: It displays and sets the date on a Linux system.
Open a terminal (short-cut key combination: Ctrl + Alt + T) and type a lower-case w and press enter. You can also use whoor whoami with differing results.