#!/bin/bash
while [ 1=1 ]; do
ping nix.cz -c 1 | grep time= > /a/log/ping_nix.txt 2>/a/log/ping_nix.err
sleep 60
done
