The whereis command shows information about paths for binary, sources and man pages for a given program:
$ whereis ls
ls: /bin/ls /usr/share/man/man1/ls.1.gz /usr/src/bin/ls
On BSD systems it shows the location at the ports hierarchy from which you can install the program.
Add your comment below, or trackback from your own site.
Subscribe to these comments.
Be nice. Keep it clean. Stay on topic. No spam.
You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>