Displaying information about logged-in users

Use the finger or f command to display information about the current users on a specified host.

This information can include the user's login name, full name, and terminal name, as well as the date and time of login.

  1. To display information about all users logged in to host @alcatraz, enter:
    finger @alcatraz
    A display similar to the following is returned:
    brown  Console Mar 15 13:19
    smith  pts0    Mar 15 13:01
    jones  tty0    Mar 15 13:01
    User brown is logged in at the console, user smith is logged in from a pseudo teletype line pts0, and user jones is logged in from a tty0.
  2. To get information about the user brown from the preceding example, enter:
    finger brown@alcatraz
    or
    finger brown
    A display similar to the following is returned:
    Login name: brown
    In real life: Marta Brown
    Directory:/home/brown  Shell: /bin/ksh
    On since May 8 07:13:49 on console
    No Plan.