LinuxCommandLibrary

pinky

TLDR

Show logged-in users

$ pinky
copy
Show specific user
$ pinky [username]
copy
Long format
$ pinky -l [username]
copy
Short format
$ pinky -s
copy
Omit full names
$ pinky -f
copy
Omit remote host
$ pinky -h
copy

SYNOPSIS

pinky [-l] [-s] [-f] [-h] [options] [users]

DESCRIPTION

pinky displays information about logged-in users. It's a lightweight alternative to finger.
Default output shows login name, full name, terminal, idle time, login time, and host.
Long format adds home directory, shell, and plan/project files. Similar to finger's detailed view.
Short format shows minimal information. Useful for quick user listing.
The command reads system utmp and user information. No network queries are made.

PARAMETERS

-l

Long output format.
-s
Short output format.
-f
Omit full name.
-h
Omit remote host.
-w
Omit home directory.
-b
Omit home in long format.
-p
Omit project in long format.
--help
Show help.

CAVEATS

Less feature-complete than finger. No remote host queries. Plan files may not exist.

HISTORY

pinky is part of GNU coreutils, created as a lighter-weight local alternative to the finger command. It doesn't support network finger protocol.

SEE ALSO

finger(1), who(1), w(1), users(1)

Copied to clipboard