summaryrefslogtreecommitdiff
path: root/test-domain
blob: 3ada51e53576926b6f8fe5947304f765233c9d27 (plain)
1
2
3
4
5
#!/bin/bash

if ping -c1 "$1" &> /dev/null; then
  echo "$1"
fi