Commit 5fbec8cc authored by raneem.alabed's avatar raneem.alabed

add README

parents
#!/bin/bash
l=$1
r=$2
for i in {$l..$r}; do
host=192.168.0.$i
ping -c2 $host &> /dev/null
if [ $? = 0 ];then
echo "$host is up"
else
echo "$host is down"
fi
done
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment