tldr/pages.zh/common/w.md

13 lines
231 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

# w
> 显示有哪些用户登录了本机以及他们当前的活动.
> 打印用户登录TTY, 远程主机,登录时间,闲置时间,当前进程.
- 获取已登录用户信息:
`w`
- 无标题栏模式:
`w -h`