w
UsersBeginner In simulator In real LinuxShow who is logged in and what they are doing
Name: w: short for who, plus what they are doing
You can practise it right away in the simulator, and use it in real Linux mode too.
Description
w shows who is logged in and what they are doing: terminal, origin, login and idle time and current command for each user, with an uptime-style load line on top.
Syntax
w [OPTION]... [USER]Common options
| -h / --no-header | Leave out the header |
| -s / --short | Short format (no login time or CPU times) |
| -i / --ip-addr | Show addresses instead of host names |
| USER | Only one user |
Examples
$ w
Users, idle time and what they run
Explain