← 返回命令列表

Linux command

pinky 命令

文本

复制后可按需替换文件名、目录或参数。

常用示例

Show logged-in users

pinky

Show specific user

pinky [username]

Long format

pinky -l [username]

Short format

pinky -s

Omit full names

pinky -f

Omit remote host

pinky -h

说明

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.

参数

-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.

FAQ

What is the pinky command used for?

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.

How do I run a basic pinky example?

Run `pinky` in a terminal, then adjust file names, paths, flags, or remote targets for your system.

What does -l do in pinky?

Long output format.