Problem to show the IP
Hi,
Any advice to this? [oracle@hpi5 ~]$ ifconfig -a bash: ifconfig: command not found while this is the version of the OS [oracle@hpi5 ~]$ cat /etc/*release* Enterprise Linux Enterprise Linux Server release 5.10 (Carthage) cat: /etc/lsb-release.d: Is a directory Oracle Linux Server release 5.10 Red Hat Enterprise Linux Server release 5.10 (Tikanga) |
ifconfig is usually found in /sbin, which is not in a regular user's PATH.
|
Sorry, I still get this
[oracle@hpi5 ~]$ cd /sbin [oracle@hpi5 sbin]$ ifconfig -a bash: ifconfig: command not found |
/sbin is not in the user's PATH, so you have to use the full path to the command (i.e. /sbin/ifconfig). From within /sbin, you can use ./ifconfig.
|
or just /sbin/ifconfig from anywhere
|
All times are GMT -5. The time now is 11:20 AM. |