How to check where users come from?

w command presents valuable details concerning where users originate from and also what are they doing.

An instance of its result is:

 ~ $ w -V
 procps version 3.2.8
 ~ $ w
 13:53:14 up 164 days,  3:12,  5 users,  load average: 0.00, 0.01, 0.00
USER     TTY      FROM              [email protected]   IDLE   JCPU   PCPU WHAT
root     tty1     -                06Aug13 56:38   0.11s  0.11s -bash
amp      pts/0    a89-153-189-213. 11:30   17.00s  0.13s  0.13s -bash
rafael   pts/4    gwec.di.uminho.p 11:59    0.00s  0.80s  0.00s w

But this result trims the hostname in the "FROM" area, exists a means yo uncover the whole hostname/IP address?

1
2022-07-25 20:46:25
Source Share
Answers: 0