|
|
To list the users currently logged in to your system, use the who command. The login, terminal name, and login date and time are displayed:
$ who
josephh tty001 Mar 25 14:29
susant tty002 Mar 25 14:29
peterp tty003 Mar 25 14:29
perry tty005 Mar 25 14:31
To find out more about an individual user, use the finger
command. For example:
$ finger perry
Login name: perry In real life: Perry Patetic
Directory: /u/perry Shell: /bin/ksh
On since Mar 9 09:23:40 on tty005
No Plan.
$
finger can be used on a user who is not logged in.
If you do not specify a login, finger displays information
about all the users currently logged in.
Note that in the example above, the bottom line states No
Plan
. This indicates that the user does not have a file
called .plan in their home directory. If such a file
exists, its contents are printed by finger.
The .plan file is a
useful place to put information that you want to have publicly
available, such as your telephone number and current work
project. Use any text editor to create a .plan file.
See also the who(C) and finger(C) manual pages.