whereis


Show all the places where the given command can be found in the PATH

$ whereis perl
perl: /usr/bin/perl /etc/perl /usr/share/perl
  /home/vagrant/localperl/bin/perl /usr/share/man/man1/perl.1.gz