2020-10-12 22:04:01 +01:00
|
|
|
# w
|
|
|
|
|
|
|
|
> Display who is logged in and their processes.
|
|
|
|
> More information: <https://www.geeksforgeeks.org/w-command-in-linux-with-examples/>.
|
|
|
|
|
|
|
|
- Display information about all users who are currently logged in:
|
|
|
|
|
|
|
|
`w`
|
|
|
|
|
|
|
|
- Display information about a specific user:
|
|
|
|
|
2022-10-25 07:20:39 +01:00
|
|
|
`w {{username}}`
|
2020-10-12 22:04:01 +01:00
|
|
|
|
|
|
|
- Display information without including the header:
|
|
|
|
|
|
|
|
`w --no-header`
|
|
|
|
|
|
|
|
- Display information without including the login, JCPU and PCPU columns:
|
|
|
|
|
|
|
|
`w --short`
|