Why does whereis not show my scripts' locations?
kassube at gmx.net
Fri Jan 15 21:12:14 UTC 2010
Dotan Cohen wrote:
> Why isn't the "whereis" command not showing my scripts' locations?
> Here it can be seen that ~/.bin is in my path, and that the script
> "ooc" is in there. Launching "ooc" works fine from Krunner. So why
> doesn't the "whereis" command show it?
From "man whereis":
| whereis has a hard-coded path, so may not always find what you're
| looking for.
Are you perhaps looking for the which command instead?
More information about the ubuntu-users