[Linux-bruxelles] ip sous debian

Stephane Wirtel stephane.wirtel at belgacom.net
Ven 4 Oct 15:26:46 CEST 2002


On Fri, Oct 04, 2002 at 03:20:25PM +0200, Olivier Laurent wrote:
> On ven, 04 oct 2002, at 12:44, Stephane Wirtel wrote:
> > > eth0:
> > > /sbin/ifconfig eth0 | grep inet | awk '{print $2}' | cut -f 2 -d :
> > fait un swap entre awk et cut -->
> > 
> > /sbin/ifconfig eth0 | grep inet | cut -f 2 -d':' | awk '{ print $1}'
> > > eth1:
> > > /sbin/ifconfig eth1 | grep inet | awk '{print $2}' | cut -f 2 -d :
> 
> Pourquoi ? Ça fonctionne chez moi. Tu as une explication ?
bah ça fonctionne chez moi :-)



-- 
Stephane Wirtel <stephane.wirtel at belgacom.net>
Web : www.linux-mons.be	 "Linux Is Not UniX !!!"
OS3B : Club OpenSoftware Carolo : www.os3b.org
Key ID = 5331 0B5B 21F0 0363 EACD  B73E 3D11 E5BC C9C1 6DA7
pub  C9C16DA7 on pgp.ael.be





Plus d'informations sur la liste de diffusion Linux-bruxelles