[CentOS] What package contains ifconfig?

John J. Boyer john.boyer at abilitiessoft.com
Fri Jul 15 20:06:07 UTC 2011


On Fri, Jul 15, 2011 at 03:30:33PM -0400, Lamar Owen wrote:
> On Friday, July 15, 2011 02:46:53 PM John R Pierce wrote:
> > you -are- looking in /sbin/ right?
Yes. I tried to install net-tools and found it was already installed, so 
I tried sbin.  

Thanks,
John

> 
> /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 at centos.org
> http://lists.centos.org/mailman/listinfo/centos

-- 
John J. Boyer; President, Chief Software Developer
Abilitiessoft, Inc.
http://www.abilitiessoft.com
Madison, Wisconsin USA
Developing software for people with disabilities




More information about the CentOS mailing list