Re: What package contains ifconfig?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



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 .........
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos


[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux