Say, you want to use a “service” or “ifconfig” commands under CentOS but running them in the terminal results in “command not found”.
There is an easy fix – commands are not found because they located under /sbin (not /bin). So, you’d need to run it with /sbin/service or add /sbin to the list of directories in the path
UPDATE: 08/08/2009
This problem is most likely to appear when using a su command instead of su -