[Previo por Fecha] [Siguiente por Fecha] [Previo por Hilo] [Siguiente por Hilo]
[Hilos de Discusión] [Fecha] [Tema] [Autor]David Moreno Garza wrote:
On Wed, 2004-07-21 at 16:54, Antonio Galicia Ceballos wrote:On Wed, 21 Jul 2004, Gustavo Barron wrote:Por aquello de las dificultades de encontrar la ip de manera manualifconfig | grep -A 1 "ppp0 " | grep -v ppp0 | cut -d ':' -f2 | awk '{ print $1 }'ifconfig ppp0 | grep inet | cut -d ':' -f2 | cut -d\ -f1 Más, fácil, creo.damogar@berenjena:~$ /sbin/ifconfig ppp0 | grep inet | cut -d ':' -f2 | cut -d\ -f1
Prueba con cut -d ' ' en vez de cut -d \ <----- espacio después de la \
cut: the delimiter must be a single character Try `cut --help' for more information. damogar@berenjena:~$x
-- Sandino Araico Sánchez -- ... there's no spoon ...