4 examples for whois
# Make whois ip if you only know domain name via host and sed for i in `host bropages.org | head -1 | sed 's/^[^0-9]*//g'`; do whois $i; done
# Make whois ip if you only know domain name via host and grep for i in `host bropages.org | head -1 | grep -Eo '([0-9]{1,3}\.){1,3}[0-9]{1,3}'`; do whois $i; done
# Make whois ip if you only know domain name via host and awk for i in `host bropages.org | head -1 | awk -F"[: ]+" '/has address/ {print $4}'`; do whois $i; done