Displays the full qualification of all the symbols matching a given identifier.
whereis identifier
Use the whereis command to display a list of the fully qualified names of all symbols whose name matches identifier. The symbol class (for example, procedure, variable) is also listed.
Use the whatis command on the fully qualified names to determine their types.
Issuing this command:
whereis x
might produce this response:
variable: `a.out`foo.c`foo`x