w

Display who is logged in and their processes. More information: https://www.geeksforgeeks.org/w-command-in-linux-with-examples/.

w

w username

w --no-header

w --short