#!/bin/bash # Espera input del usuario read -p "Write the host to ping" destino # Ejecuta ping indefinidamente ping "$destino"