GeantJones wrote:
Merci

Si je fait IPCONF=($(/sbin/ifconfig eth0)); echo ${IPCONF[5]#*:}
j'obtiens #inet
si je fait IPCONF=($(/sbin/ifconfig ppp0)); echo ${IPCONF[5]#*:}
j'obtiens
#erreur lors de la recherche d'infos sur l'interface: P�riph�rique non
trouv�
ifconfig tout seul fait rien command not found

voila si vous avez encore des conseille c'est bienvenue.

�a serait pas mal un petit utilitaire pour conna�tre son ip son linux,
�a existe peut-�tre ?

A++
En user: /sbin/ifconfig

En root: ifconfig


--
Jean
                               \\\!///
                               -(@ @)-
----------------------------oOO--(_)--OOo----------------------------
Jean Segers             Venez r�ver -----> http://www.Demoiselles.com
26, rue du Pin                                  http://www.Sadems.com
34190 Saint Bauzille de Putois               http://it.mondelinux.org
France                                          http://www.deveze.com
Gsm 06 86 12 49 15                         http://www.cyberboutic.com
Tel&Fax 04 67 73 38 30                      http://www.mondelinux.org




Vous souhaitez acquerir votre Pack ou des Services MandrakeSoft?
Rendez-vous sur "http://www.mandrakestore.com";

Répondre à