A bin folder, holding helpfull scripts and commands
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
12345678910 |
- #!/bin/bash
- #
- IP=`wget -O - stdout http://pdns.mount-mockery.de 2> /dev/null|jq .$1`
- if [[ "$IP" = "null" ]]; then
- echo No IP found for host $1.
- exit 1
- else
- echo $IP
- fi
|