Skip to content
Merged
20 changes: 20 additions & 0 deletions pages/linux/w.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# w

> Display who is logged in and their processes.
> More information: <https://www.geeksforgeeks.org/w-command-in-linux-with-examples/>.

- Show information of all users logged in:

`w`

- Show information of specific user:

`w {{user}}`

- Don’t print the header:

`w -h`

- Short format,ignore login time, JCPU or PCPU times:

`w -s`