The WHOIS utility allows Internet users to query the Network Information Center (NIC) username directory services.
To invoke WHOIS, enter at the DCL prompt:
$ WHOIS name
name is the user's name or other search keyword.
The utility tries to connect to the NIC WHOIS server (ds.internic.net) and displays any returned information.
The source code for this utility is in the TCPWARE_COMMON:[TCPWARE.EXAMPLES]WHOIS.C file.