ws
— sort the
output of w by terminal name
The ws
utility invokes
w(1) with
the specified options and then sorts the output by the name of the
controlling terminal, as BSD-style
w(1) would
do.
The ws
utility exits 0 on success,
and >0 if an error occurs.
The ws
utility's operation is currently
not directly affected by its environment. However, it uses
mktemp(1)
to create a temporary file, so on various systems the
TMPDIR
, TMP
, or
TEMP
environment variables may be honored.
The ws
utility's operation is currently
not directly affected by any files.
See who is logged on:
ws
Use the short format:
ws -s
The ws
utility was written by
Peter Pentchev in 2010.
Peter Penchev
⟨roam@ringlet.net⟩