Linux / Unix: users Command Examples

Linux / Unix: users Command Examples

The users command is a utility that displays the list of users who are currently logged into the system.

To use the users command, you can simply type users at the command prompt and press Enter. This will display a list of users who are currently logged into the system.

For example:

ref‮t re‬o:lautturi.com
$ users
user1 user2

This will display the list of users user1 and user2 who are currently logged into the system.

The users command does not have any options or arguments, and simply displays the list of users who are currently logged in.

It is important to note that the users command only displays the users who are logged in to the local system, and does not display users who are logged in to other systems on the network.

For more information about the users command and its usage, you can consult the documentation for your specific Unix or Linux system.

Created Time:2017-10-29 22:09:00  Author:lautturi