PINKY(1) General Commands Manual PINKY(1)

pinkylittle finger

pinky [-s] [-fwiq] [user]…
pinky -l [-bhp] user

By default, list information about logged-in users to the standard output stream:

Login  Name                   TTY   Idle  Since            Host
cicada Cicadetta cantilatrix  pts/0       2022-07-28 13:05 fe80::20a:f7ff:fe63:d512%bridge1
root                         *tty0  00:10 2022-07-28 14:59

With -l, list passwd(5) and finger(1) information about the specified users to the standard output stream:

Login: cicada                           Name: Cicadetta cantilatrix
Directory: /home/cicada                 Shell: /bin/ksh93
Project: unix72, voreutils
Plan:
1. Sing all summer
2. Die in winter

Short Format

For each logged-in user session (USER_PROCESS utmpx(5) entry) write a row consisting of:

the login name (ut_user);
GECOS (pw_gecos) field 1 — full name — corresponding to the ut_user, or if doesn't exist;
before TTY
write status (cf. mesg(1)):
a space
if allowed (g+w),
if blocked, or
if stat(/dev/ut_line) failed;
the session teletype sans "/dev/" (ut_line);
time since last successful read from the teletype:
empty
if under a minute,
HH:MM
if under a day,
D
otherwise, or
if the aforementioned () failed;
log-in time (time of entry: ut_tv) in "%F %R" (YYYY-MM-DD HH:MM) format;
remote host where the user called in from (ut_host).

If any users specified, filter out sessions of users not listed.

Long Format

For each user, output (columnated at ):

user
GECOS (pw_gecos) field 1 — full name; if user doesn't exist, "???" and stop processing this argument
Unless -b:
home directory (pw_dir)
login shell (pw_shell)
Unless -b or nonexistent:
the contents of .project in the home directory
Unless -p or nonexistent:
the contents of .plan in the home directory

Output Short Format. This is the default.
Output Long Format.

Short Format

Skip the header.
Remove the Name column.
and remove the Host column.
and remove the Idle column.

Long Format

Don't output the second line (home directory and login shell).
Don't read .project.
Don't read .plan.

Override timezone for the Since column, cf. tzset(3).

chfn(1), finger(1), mesg(1), w(1), who(1), write(1), getpwnam(3), passwd(5), utmpx(5)

Originates from the GNU system. The time format is the same as in who(1).

December 31, 2022 voreutils pre-v0.0.0-latest