mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-02 00:42:45 +00:00
23 lines
476 B
Plaintext
23 lines
476 B
Plaintext
---
|
|
syntax: markdown
|
|
tags: [tldr, osx]
|
|
source: https://github.com/tldr-pages/tldr.git
|
|
---
|
|
# w
|
|
|
|
> Show who is logged on and what they are doing.
|
|
> Print user login, TTY, remote host, login time, idle time, current process.
|
|
> More information: <https://keith.github.io/xcode-man-pages/w.1.html>.
|
|
|
|
- Show logged-in users information:
|
|
|
|
`w`
|
|
|
|
- Show logged-in users information without a header:
|
|
|
|
`w -h`
|
|
|
|
- Show information about logged-in users, sorted by their idle time:
|
|
|
|
`w -i`
|