NAME
pinky
—
little finger
SYNOPSIS
pinky |
[-s ] [-fwiq ]
[user]… |
pinky |
-l [-bhp ]
user… |
DESCRIPTION
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:
cicadaName:
Cicadetta cantilatrixDirectory:
/home/cicadaShell:
/bin/ksh93Project:
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:
- Login
- the login name (ut_user);
- Name
- GECOS (pw_gecos) field 1 — full name — corresponding to the ut_user, or ??? if doesn't exist;
- before TTY
- write status (cf. mesg(1)):
- TTY
- the session teletype sans "/dev/" (ut_line);
- Idle
- time since last successful read from the teletype:
- Since
- log-in time (time of entry: ut_tv) in
"
%F %R
" (YYYY-MM-DD HH:MM) format; - Host
- 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 40):
-b
:
- Directory:
- home directory (pw_dir)
- Shell:
- login shell (pw_shell)
-b
or nonexistent:
- Project:
- the contents of .project in the home directory
-p
or nonexistent:
- Plan:
- the contents of .plan in the home directory
OPTIONS
-s
- Output Short Format. This is the default.
-l
- Output Long Format.
Short Format
-f
- Skip the header.
-w
- Remove the Name column.
-i
-w
and remove the Host column.-q
-i
and remove the Idle column.
Long Format
-b
- Don't output the second line (home directory and login shell).
-h
- Don't read .project.
-p
- Don't read .plan.
ENVIRONMENT
TZ
- Override timezone for the Since column, cf. tzset(3).
SEE ALSO
chfn(1), finger(1), mesg(1), w(1), who(1), write(1), getpwnam(3), passwd(5), utmpx(5)
STANDARDS
Originates from the GNU system. The time format is the same as in who(1).