The POSIX who command displays information about users currently logged into the Linux system, active terminal ttys, and system boot times.

who Command Examples

Terminal Commandsbash
# 1. Display currently logged-in user sessions
who
 
# 2. Display system last boot timestamp
who -b
 
# 3. Display active terminal session details for current user
who am i