Identifies a user by user ID or alias.
The /usr/bin/whois command searches a user name directory and displays information about the user ID or nickname specified in the Name parameter. The whois command tries to reach ARPANET host internic.net where it examines a user-name database to obtain information. The whois command should be used only by users on ARPANET. Refer to RFC 812 for more complete information and recent changes to the whois command.
Note: If your network is on a national network, such as ARPANET, the host name is hard-coded as internic.net.
The Name [ . . . ] parameter represents the user ID, host name, network address, or nickname on which to perform a directory search. The whois command performs a wildcard search for any name that matches the string preceding the optional ... (three periods).
Item | Description |
---|---|
. | Forces a name-only search for the name specified in the Name parameter. |
! | Displays help information for the nickname or handle ID specified in the Name parameter. |
* | Displays the entire membership list of a group or organization. If there are many members, this can take some time. |
? | Requests help from the ARPANET host. |
-h HostName | Specifies an alternative host name. The default host name on the ARPANET is internic.net. You can contact the other major ARPANET user-name database, nic.ddn.mil, by specifying the -h HostName flag. |
whois Smith
whois !Hobo
whois .Smith, John
whois HEN ...
whois ?