tldr/pages/linux/w.md

435 B

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:

w {{username}}

  • Display information without including the header:

w --no-header

  • Display information without including the login, JCPU and PCPU columns:

w --short