Hi all, I am having problems with commands via Terminal after the upgrade to centos to release 5.8 How come I did not recognized the ifconfig, route?
below is an excerpt:
# ifconfig bash: ifconfig: command not found
# route bash: route: command not found
the kernel version:
# uname -a Linux localhost.localdomain 2.6.18-308.1.1.el5 #1 SMP Wed Mar 7 04:17:30 EST 2012 i686 i686 i386 GNU/Linux
before the update I had the release 5.5 and I had no problem can someone help me?
thanks in advance regards
On 26/03/12 12:02, Paolo De Michele wrote:
I am having problems with commands via Terminal after the upgrade to centos to release 5.8 How come I did not recognized the ifconfig, route?
It looks like /sbin and /usr/sbin aren't in your path any more. You could try either running export PATH="$PATH:/sbin/:/usr/sbin" or, add the same line to your ~/.bashrc if you want it to stick.
before the update I had the release 5.5 and I had no problem can someone help me?
I would guess that you have edited one of the system-wide environment config files at some point in the past, and an RPM update has reverted the change somehow.
On 03/26/2012 01:06 PM, Tom Grace wrote:
On 26/03/12 12:02, Paolo De Michele wrote:
I am having problems with commands via Terminal after the upgrade to centos to release 5.8 How come I did not recognized the ifconfig, route?
It looks like /sbin and /usr/sbin aren't in your path any more. You could try either running export PATH="$PATH:/sbin/:/usr/sbin" or, add the same line to your ~/.bashrc if you want it to stick.
before the update I had the release 5.5 and I had no problem can someone help me?
I would guess that you have edited one of the system-wide environment config files at some point in the past, and an RPM update has reverted the change somehow.
I solved the problem with the path:
export PATH="$PATH:/sbin/:/usr/sbin"
thank you very much
CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos