Forrest logo
back to the w tool

w:tldr:2c2be

w: Display information without including the login, JCPU and PCPU columns.
$ w --short
try on your machine

The command "w --short" is used to display a summary of the currently logged-in users.

Specifically, the "w" command shows who is logged in and what they are doing on the system. It provides information such as the user's username, their terminal or session, the time they logged in, the idle time (how long they have been inactive), the JCPU (the time used by all processes attached to the tty session), the PCPU (the time used by the current process), and the command being executed.

The "--short" option is used to display a shorter version of the output. It removes some of the details provided by the normal "w" command and only shows essential information like the username, terminal, and the time they logged in. This option provides a more concise and compact summary of the logged-in users.

This explanation was created by an AI. In most cases those are correct. But please always be careful and never run a command you are not sure if it is safe.
back to the w tool