Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- IP_ADDRESS=10.197.112.99
- COUNT=3
- ping -c $COUNT $IP_ADDRESS;
- if [ $? -eq 0 ]; then
- echo 'Ok :D'
- else
- echo 'Mamo'
- fi;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement