mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-05 06:44:13 +00:00
26 lines
510 B
Plaintext
26 lines
510 B
Plaintext
---
|
|
syntax: markdown
|
|
tags: [tldr, common]
|
|
source: https://github.com/tldr-pages/tldr.git
|
|
---
|
|
# who
|
|
|
|
> Display who is logged in and related data (processes, boot time).
|
|
> More information: <https://www.gnu.org/software/coreutils/who>.
|
|
|
|
- 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`
|