GNU Finger
2.4 How Finger Picks a Port
When invoked, the GNU Finger client looks to see if a `--port'
option was specified on the command line. If so, then this becomes the
port number or service used. Otherwise, the client looks to see what
name it was started under, removes any leading directory path, and any
trailing suffixes. A suffix is the part of a filename that follows a
dot, including the dot itself. This is the service name used. For
instance, if GNU Finger is installed as
`/usr/local/bin/finger.new', then the service `finger' is
used. If it's installed as `/usr/local/bin/gfinger', then the
service `gfinger' is used. This behavior can be changed by the
system administrator during installation.