Where is whereis?
If it is not in your path, finding whereis without using whereis
may seem like a Catch 22. In fact, this feat can be accomplished either
with a trail-and-error, manual search of directories or with
find. Since either method takes some time,
it is helpful to learn the answer in advance:
| Operating system | Location |
| Linux
/usr/bin/
| Solaris
/usr/ucb/
| SunOS
/usr/ucb/
| Irix
/usr/bsd/
| HP-UX
/usr/bin/
| Digital UNIX
/usr/bin/