whois(1) usage

Dan Nelson dnelson at allantgroup.com
Thu Apr 15 19:17:29 PDT 2004

In the last episode (Apr 15), Christian Weisgerber said:
> >From <URL:http://www.sixxs.net/faq/account/?faq=6bonehandle>:
> | * First, read about the person template:
> |   whois -h whois.6bone.net -v person.
> FreeBSD's whois(1) does not have a -v flag.  I checked a Mandrake
> Linux system, and there -v is supported and obviously produces the
> expected result.
> So, how do I execute the query above with our whois command?

whois -h whois.6bone.net -- "-v person"

works for me, on both FreeBSD and Linux whois.  -v is not really a
whois option at all; it's a remote server flag.  I assume there are
others, and the above syntax is the only way to pass all possible flags
(Linux's syntax only works with flags that the whois binary itself
doesn't use).

	Dan Nelson
	dnelson at allantgroup.com

More information about the freebsd-questions mailing list