WS(1) BSD General Commands Manual WS(1)NAMEws — sort the output of w by terminal name
SYNOPSISws [-husfVo] [user]
DESCRIPTION
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.
RETURN VALUES
The ws utility exits 0 on success, and >0 if an error occurs.
ENVIRONMENT
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.
FILES
The ws utility's operation is currently not directly affected by any
files.
EXAMPLES
See who is logged on:
ws
Use the short format:
ws-s
HISTORY
The ws utility was written by Peter Pentchev in 2010.
AUTHORS
Peter Penchev ⟨roam@ringlet.net⟩
BSD August 17, 2010 BSD