Skip to main content

Show who is logged on and what they are doing. Print user login, TTY, remote host, login time, idle time, current process.

# To show logged-in users info:
w

# To show logged-in users info without a header:
w -h