On Saturday 19 July 2003 00:18, Itay 'z9u2K' Duvdevani wrote:
> On Saturday 19 July 2003 00:14, you wrote:
> > On Fri, Jul 18, 2003 at 11:13:12PM +0300, Itay 'z9u2K' Duvdevani wrote:
> > > Hi,
> > > I am looking for a way to do these two:
> > > 1. Finding out how many eths the system have (eth0, eth1 ... ethn)
> >
> >     [ ... ]
> >
> > > I need this for the internet tool (http://iwiz.linux-kinneret.org), I
> > > want to be able to present to the user this information so he would
> > > know which interface his modem is connected to more easily, in case he
> > > have more then one ethernet card.
> >
> >   You seem to be primarily interested in interfaces that are up. Why
> > don't you check the output of /sbin/ifconfig?
>
> I am interested in all interfaces, the tool's job is to bring up the
> interface...

You want ``/usr/sbin/ip link show'', or ``ip l''

-- 
Mix Sella (well, not really but hey)

This mail was checked for viruses by Romat email server


=================================================================
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]

Reply via email to