w

Show who is logged in and what they run

low risk

interactive breakdown — edit the command and press Explain
$ 
What it does

Displays logged-in users, idle time and their current commands plus load averages.

Examples
wCurrent sessions · explain & risk-check →
Related
who last uptime
Open the full explainer →More in System & Processes

Reference text is hand-written and may be incomplete — check man w for your version. Test destructive commands on a non-production system first.