who
UsersBeginner In simulator In real LinuxShow who is logged in
Name: who: who is logged in
You can practise it right away in the simulator, and use it in real Linux mode too.
Description
who shows logged-in users with their terminal, login time and origin, read from /var/run/utmp.
Syntax
who [OPTION]...Common options
| -b / --boot | Last boot time |
| -H / --heading | Print column headings |
| -q / --count | Only the names and how many |
| -a / --all | Everything |
| am i | Only yourself |
Examples
$ who
Who is logged in and from where
Explain