Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

whois(1) [sunos man page]

whois(1)							   User Commands							  whois(1)

NAME
whois - Internet user name directory service SYNOPSIS
whois [-h host] identifier DESCRIPTION
whois searches for an Internet directory entry for an identifier which is either a name (such as ``Smith'') or a handle (such as ``SRI- NIC''). To force a name-only search, precede the name with a period; to force a handle-only search, precede the handle with an exclamation point. To search for a group or organization entry, precede the argument with * (an asterisk). The entire membership list of the group will be displayed with the record. You may of course use an exclamation point and asterisk, or a period and asterisk together. EXAMPLES
Example 1: Using The whois Command The command: example% whois Smith looks for the name or handle SMITH. The command: example% whois !SRI-NIC looks for the handle SRI-NIC only. The command: example% whois .Smith, John looks for the name JOHN SMITH only. Adding ... to the name or handle argument will match anything from that point; that is, ZU ... will match ZUL, ZUM, and so on. ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWrcmdc | +-----------------------------+-----------------------------+ SEE ALSO
attributes(5) SunOS 5.10 6 Nov 2000 whois(1)

Check Out this Related Man Page

whois(1)						      General Commands Manual							  whois(1)

NAME
whois - Internet username directory service SYNOPSIS
whois [-h server] name... The whois command looks up user, host, and organization names in the Network Information Center (NIC) database. OPTIONS
Specifies a whois server other than the default server rs.internic.net. DESCRIPTION
The name argument can specify the following: The name of a registered user The name of a registered Internet host The name of some other entity recognized by the whois server By default, the whois command queries the host rs.internic.net. The operands specified to the whois command are concatenated together (separated by white-space) and presented to the whois the server. The default action, unless directed otherwise with a special name is to do a very broad search, looking for matches to name in all types of records and most fields (such as name, nicknames, host name, and network address) in the database. For more information as to what name operands have special meaning, and how to guide the search, use the special name help. EXAMPLES
To display the NIC database entry for the organization osf.org, enter: whois osf.org Open Software Foundation (OSF-DOM) 11 Cambridge Center Cambridge, MAS 02142 Domain Name: OSF.ORG . . . SEE ALSO
DARPA Internet Request for Comment: NICKNAME/WHOIS (RFC 812) whois(1)
Man Page

15 More Discussions You Might Find Interesting

1. IP Networking

Users logged in through which NIC

We have two NIC cards in our IBM RS/6000 F50 running AIX 4.3.3 We are trying to make sure we have moved all users to log in through the new NIC. 10.22.x.y (old) 10.22.x.z (new) How can I tell which users are still using the old address for logging in so I can update their work station to... (5 Replies)
Discussion started by: cburtgo
5 Replies

2. Shell Programming and Scripting

removing spaces betweent columns

Hello Friends, Can any one help me with this issue: I would like to format a file: say if I have rows like: 4512 , SMITH , I-28984 ,, 4324 , 4343 42312 , SMITH , I-2EE8984 ,, 432E4E4 , 4343 I would like to have the output diaplayed like : 4512... (8 Replies)
Discussion started by: sbasetty
8 Replies

3. Shell Programming and Scripting

Read file based on condition

Hi Friends, Can any one help with this: I have a huge file with the format as A SAM 4637 B DEPT1 4758 MILAN A SMITH 46585 B DEPT2 5385 HARRYIS B SAMUL 63547 GEORGE B DANIEL 899 BOISE A FRES 736 74638 I have to read this file and write only the records that starts with "B" only ... (5 Replies)
Discussion started by: sbasetty
5 Replies

4. Shell Programming and Scripting

Extraction of various lines from a hugh file

Dear Members, I have a huge file generated by the command 'whois' for hundred of IPs. Each section in the file starts with I want to extract those lines which start with any of these words: Input: OrgName: University of C OrgID: U1 Address: OIT Address: NH City: ... (5 Replies)
Discussion started by: srsahu75
5 Replies

5. IP Networking

How to extract NIC and other info ,given Ip

Hi all, I am working on a networking project that requires me to find out the NIC on that particular machine and many more things. Now Given the IP and the subnet. I would like to know how we can extract such informations? I am talking in exclusivity to Solaris boxes!! The required... (6 Replies)
Discussion started by: wrapster
6 Replies

6. UNIX for Dummies Questions & Answers

Search for string and return lines above and below

Hi, I have a file with the following contents: COMPANY ABCD TRUCKER JOE SMITH TRUCK 456 PLATE A12345678 TRUCKER BILL JONES TRUCK 789 PLATE B7894561 I need to create a script or search command that will search for this string '789' in the file. This string is unique and only... (7 Replies)
Discussion started by: doza22
7 Replies

7. Shell Programming and Scripting

How to assign * asterisk to variable?

How can I assign asterisk to variable I have try a="\* " but I was not succesful :( any idea ? thanks (5 Replies)
Discussion started by: kvok
5 Replies

8. Shell Programming and Scripting

Change "SMITH, JOHN" to "John Smith"

Long File with many lines like the example, Double Quotes are a constant, and would be a good FS for AWK. Input TheWhisperers23Chapter 21 9781442305151 "WHISPERERS" "CONNOLLY, JOHN" 2010 Desired Output TheWhisperers23Chapter 21 9781442305151 "WHISPERERS" "John... (14 Replies)
Discussion started by: glev2005
14 Replies

9. Solaris

Not able to find the new NIC

I have a Sun Blade 2500 with SUN 5.9 OS installed. I have one NIC built-in which is working fine. I insert another new NIC in the machine with four RJ45 connector options(means four NICs in one Card). The problem is i am not able to see the new NIC Thanks (13 Replies)
Discussion started by: z_haseeb
13 Replies

10. UNIX for Dummies Questions & Answers

Find delimiter and double quote the field

Hi I have a asterisk (*) delimited file and there are some fields which contain data having asterisk , now i want to double quote the fileds which contain data with asterisk Ex: input file ID*NAME*EMAIL 1*BILL*BILL@AOL.com 2*J*OY*JOY@msn.com in the 2nd record JOY has a asterisk value in... (11 Replies)
Discussion started by: halmstad
11 Replies

11. Shell Programming and Scripting

uniform and same result whois command line

I am looking for a free whois lookup tool or some "scripting help" that will give uniform result for whois lookup from the linux command line. Currently: whois of a .co.nz domain results nameserver as follows. ns_name_01: ns1.domain.co.nz ns_name_02: ns2.domain.co.nz While that of a .net... (5 Replies)
Discussion started by: anilcliff
5 Replies

12. Programming

SED - how do I convert a decimal number to asterisk

Hi, My animal ID's have two zeros in them and are also converting to asterisk. I only need to change the zero values in columns two and three. I would appreciate any help. This is my data structure: head phendata.txt 201008809 0.0 0.0 201008810 0.0 0.0 201008813 0.0 0.0 201014103... (6 Replies)
Discussion started by: lel7lel7
6 Replies

13. Shell Programming and Scripting

If 2nd column is matched

Both codes not working for me. whois nba.com| sed -n '/Registry Registrant ID:/,/Registrant whois ymas.com| sed -n '/Registry Registrant ID:/,/Registrant whois ymas.com.pt| sed -n '/Registry Registrant ID:/,/Registrant whois ymas.com.pt| sed -n '/Registry Admin ID:/,/Admin Email:/p' ... (5 Replies)
Discussion started by: kenshinhimura
5 Replies

14. UNIX for Advanced & Expert Users

Red Hat Disable a NIC permanently..

Hi, I have a task here where I need to write a script to disable one of my NIC when it checks certain event. Till now I am not able to find a way to do this, because, it should be persistent though restart of services as well as reboots. I have tested putting it in rc.local, but it doesn't... (6 Replies)
Discussion started by: nixhead
6 Replies

15. IP Networking

Subnetting

Dear friends am confused with the logic behind subnetting. i am learning from video tutorial and quite didn't get it so my question is as below After subnetting class c address by borrowing one bit from host to network , it leaves host with 7 bit and network increases bit to 25 bits . ... (9 Replies)
Discussion started by: lobsang
9 Replies