who
Display who is logged in and related data (processes, boot time).
- Display the username, line, and time of all currently logged-in sessions:
who
- Display information only for the current terminal session:
who am i
- Display all available information:
who -a
- Display all available information with table headers:
who -a -H