Login | registrarse | recordar contraseña
128146
1121
217849
12
PORTADAFORO AYUDATUTORIALESPROGRAMASDRIVERSMONTAJESMANUALESMOVILESORDENADORES SEGUNDA MANOBUSCAR?

Título del Artículo: Hacer ping a todas las maquinas registradas en /etc/hosts
Descripción: Yo lo hago de la siguiente forma:
$ grep -v "#" /etc/hosts | awk '{print $1}' | while read host
> do
> ping -c 1 $host
> done

O tambien os podeis currar este script

#!/bin/sh
grep -v "#" /etc/hosts | awk '{print $1}' | while read host
do
ping -c 1 $host
done

Un saludo. Teleco24
Enviado por: - Fecha: 09-02-2003 12:53:34

Si necesitas consultar alguna duda pulsa aquí.

Usuario:
Clave:
Regístrate - Recordar Contraseña


PORTADA¿Que es ConfigurarEquipos?Quienes somosLogo

Aviso Legal Politica de Privacidad Referencias en Prensa Colaborar Contactar Publicidad
.Buscar:

en

Copyright (c) 2002-2008 ConfigurarEquipos.com® | 20-07-2008 07:14:21 | Informática | Mapa Web