scripts/network/lookup_asn.sh

5 lines
95 B
Bash
Executable File

#!/bin/sh
[ "$#" -ne "1" ] && echo "usage: $0 IP" && exit 1
whois -h whois.cymru.com " -v $1"