Skip to main contentModule pinky
Source - PinkyConfig
- Configuration for the pinky command, derived from CLI flags.
- UserInfo
- Passwd entry information for a user.
- format_long_entry
- Format output in long format for a specific user.
- format_short_entry
- Format a single entry in short format (matches GNU pinky format exactly).
- format_short_heading
- Format the short-format heading line (matches GNU pinky column widths).
GNU format: %-8s “Login” | “ %-19s“ “Name” | “ %-9s“ “ TTY“ | “ %-6s“ “Idle” | “ %-16s“ “When” | “ %s“ “Where”
- get_user_info
- Look up a user’s passwd entry by login name.
- run_pinky
- Run the pinky command and return the formatted output.