Enter the following command:
$ locate whois
Note that locate shows two commands that
match whois, along with a
directory and a README file.
Now use the stat program to evaluate the two
commands:
$ stat /usr/bin/whois /usr/bin/fwhois
Examine the inode number for both files. An
inode is a unique identifier, or node, of your Linux
filesystem. The fact that these two files show the same
inode indicates that they are links to the same file. That
is, one file has two directory entries with different names.
This means that you'll be running the same program
regardless of which command name you use.
Next, examine the README file that locate reported:
$ less /usr/doc/fwhois-1.00/README
Your version may be different. Now look for
a manpage and an info page
for this program:
$ man fwhois
$ info fwhois
As you can see, the program author chose
not to offer a manpage or an info page for fwhois, leaving the README in /usr/doc as the
sole documentation for the program.