[CentOS] What package contains ifconfig?
Lamar Owen
lowen at pari.edu
Fri Jul 15 19:30:33 UTC 2011
On Friday, July 15, 2011 02:46:53 PM John R Pierce wrote:
> On 07/15/11 11:39 AM, John J. Boyer wrote:
> > I don't have ifconfig on my new installation of CentOS 5.6, but it is on
> > my server in the cloud. What package contains it?
> you -are- looking in /sbin/ right?
/sbin is not by default in a normal user's $PATH.
Excerpt below:
$ cat /etc/redhat-release
CentOS release 5.6 (Final)
$ ifconfig
-bash: ifconfig: command not found
$ su -
Password:
# ifconfig
eth0 Link encap:Ethernet HWaddr .........
....
# exit
$ /sbin/ifconfig
eth0 Link encap:Ethernet HWaddr .........
More information about the CentOS
mailing list