Our Blog

News, thoughts & useful links

Contact: Skype , email or call
+44 (0) 131 556 6818

Common CentOS commands don’t work

April 21st, 2008 by Anton

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 -



Comments are closed.