๐Ÿ‘ค How to Use the pinky Command in Linux (Step-by-Step Guide)

๐Ÿ‘ค How to Use the pinky Command in Linux (Step-by-Step Guide)
Operating System(s)

The pinky command in Linux is a lightweight version of the finger command. It displays basic information about logged-in users in a clean, compact format.

๐Ÿ”Ž What is pinky?

pinky shows quick details about users currently logged into the system.

๐Ÿ‘‰ Itโ€™s faster and simpler than finger
๐Ÿ‘‰ Useful for system monitoring and multi-user environments

โœ… Basic Syntax

pinky [options] [username]

๐Ÿ“Š Show All Logged-In Users

pinky

๐Ÿ‘‰ Displays:

  • Username
  • Terminal (TTY)
  • Login time
  • Idle time
  • Location (if available)

๐Ÿ‘ค Show Info for a Specific User

pinky username

๐Ÿ‘‰ Shows details for a single user

โš™๏ธ Useful Options

OptionDescription
-lLong format (more details)
-bOmit userโ€™s home directory
-hOmit project file
-pOmit plan file
-sShort format (default)

๐Ÿงช Example: Long Format

pinky -l user

๐Ÿ‘‰ Displays:

  • Full name
  • Home directory
  • Shell
  • Login details

๐Ÿš€ Real-World Uses

  • Check who is logged into a system
  • Monitor user activity
  • Quickly gather user info without extra clutter

โš ๏ธ Common Notes

  • Not all systems have finger installed, but pinky is usually available
  • Output depends on system configuration
  • May not show full details if privacy settings restrict it

๐Ÿง  Pro Tips

  • Combine with who for deeper insight
  • Use in scripts to monitor active users
  • Use -l when you need more detailed info

๐Ÿ‘ Quick Summary

  • pinky shows logged-in user info
  • Lightweight alternative to finger
  • Supports short and long output formats
  • Useful for quick system checks

๐ŸŽฏ Final Thoughts

The pinky command is a simple yet effective tool for viewing user information in Linux. While it doesnโ€™t provide as much detail as finger, its speed and simplicity make it perfect for quick checks and scripts.

Force Cache (Faster Mirror)

Linux Commands

Files

tar ยท pv ยท cat ยท tac ยท chmod ยท grep ยท  diff ยท sed ยท ar ยท man ยท pushd ยท popd ยท fsck ยท testdisk ยท seq ยท fd ยท pandoc ยท cd ยท $PATH ยท awk ยท join ยท jq ยท fold ยท uniq ยท journalctl ยท tail ยท stat ยท ls ยท fstab ยท echo ยท less ยท chgrp ยท chown ยท rev ยท look ยท strings ยท type ยท rename ยท zip ยท unzip ยท mount ยท umount ยท install ยท fdisk ยท mkfs ยท rm ยท rmdir ยท rsync ยท df ยท gpg ยท vi ยท nano ยท mkdir ยท du ยท ln ยท patch ยท convert ยท rclone ยท shred ยท srm ยท scp ยท gzip ยท chattr ยท cut ยท find ยท umask ยท wc ยท tr ยท hash  ยท compgen

Processes

alias ยท screen ยท top ยท nice ยท renice ยท progress ยท strace ยท systemd ยท tmux ยท chsh ยท history ยท at ยท batch ยท free ยท which ยท dmesg ยท chfn ยท usermod ยท ps ยท chroot ยท xargs ยท tty ยท pinky ยท lsof ยท vmstat ยท timeout ยท wall ยท yes ยท kill ยท sleep ยท sudo ยท su ยท time ยท groupadd ยท usermod ยท groups ยท lshw ยท shutdown ยท reboot ยท halt ยท poweroff ยท passwd ยท lscpu ยท crontab ยท date ยท bg ยท fg ยท pidof ยท nohup ยท pmap

Networking

netstat ยท ping ยท traceroute ยท ip ยท ss ยท whois ยท fail2ban ยท bmon ยท dig ยท finger ยท nmap ยท ftp ยท curl ยท wget ยท who ยท whoami ยทยท iptables ยท ssh-keygen ยท ufw ยท arping ยท firewalld