I don't understand what you are trying to say....
Say, in linux, you are trying to see where the ssh command is installed. I would use the "which" command like so:
[root@ltp01 ~]# which ssh
If it is within your path, it will output where it is located.