macOS / binaries /

who

/usr/bin/who
Display who is logged in

The who utility displays information about currently logged in users. By default, this includes the login name, tty name, date and time of login and remote hostname if not local.

source: man