From bd6fb6a5a137703023ead2e53632cc5884e35c38 Mon Sep 17 00:00:00 2001 From: Lorin Hochstein Date: Sat, 7 Feb 2015 18:40:41 -0500 Subject: [PATCH] chapter 10 --- ch10/playbooks/files/can_reach.sh | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 ch10/playbooks/files/can_reach.sh diff --git a/ch10/playbooks/files/can_reach.sh b/ch10/playbooks/files/can_reach.sh new file mode 100644 index 0000000..8608218 --- /dev/null +++ b/ch10/playbooks/files/can_reach.sh @@ -0,0 +1,6 @@ +#!/bin/bash +host=$1 +port=$2 +timeout=$3 + +nc -z -w $timeout $host $port -- 2.44.0