December 2018
Beginner
320 pages
8h 57m
English
The w command is used to display information about the users that are currently logged onto the machine and their running processes. The first line (header) in the output is the same as what we saw in the uptime output. An example of the w command is shown in the following screenshot:

The output shows rows of data with the following columns:
|
Command |
Description |
|
USER |
User login name |
|
TTY |
The controlling Terminal type, listed as pts/N (pseudo-terminal) in GUI, or ttyN on the system console or other directly connected device |
|
FROM |
Remote hostname from which the user has logged in |
|
LOGIN@ |
Login time of the user |
Read now
Unlock full access