February 2001
Beginner to intermediate
448 pages
9h 2m
English
Official Description
Identifies users currently logged in.
Syntax
who [-a] | [-AbdhHlmMpqrstTu] [file]
Options
-a displays all options.
There are many other options. See the man page. Not all options in the preceding list are available on all UNIX variants.
Oddities
Several commands are related to the who command that can be used to display specific information, such as the following:
who am I, which displays the name, terminal, date, and host.
whoami, which displays the login name only.
Example
$ who obrien pts/0 Nov 27 07:35 obrien pts/1 Nov 27 07:18 obrien pts/2 Nov 27 07:19 $ $ who am i linden!obrien pts/0 Nov 27 07:35 $ $ whoami obrien
I hope this appendix is of use. It should get you pointed in the right direction (at ...
Read now
Unlock full access