summaryrefslogtreecommitdiff
path: root/man
diff options
context:
space:
mode:
Diffstat (limited to 'man')
-rw-r--r--man/1/uniq5
-rw-r--r--man/1/whois40
2 files changed, 44 insertions, 1 deletions
diff --git a/man/1/uniq b/man/1/uniq
index 408e9600..41701bca 100644
--- a/man/1/uniq
+++ b/man/1/uniq
@@ -4,7 +4,7 @@ uniq \- report repeated lines in a file
.SH SYNOPSIS
.B uniq
[
-.B -ud
+.B -udc
]
[
.I file
@@ -24,6 +24,9 @@ in order to be found.
.B -u
Print unique lines.
.TP
+.B -c
+Prefix a repetition count and a tab to each output line.
+.TP
.B -d
Print (one copy of) duplicated lines.
.SH SOURCE
diff --git a/man/1/whois b/man/1/whois
new file mode 100644
index 00000000..dfaefe88
--- /dev/null
+++ b/man/1/whois
@@ -0,0 +1,40 @@
+.TH WHOIS 1
+.SH NAME
+whois \- query whois databases
+.SH SYNOPSIS
+.B whois
+[
+.B -a
+.I server
+]
+[
+.B -n
+]
+.I host
+.SH DESCRIPTION
+.I Whois
+queries whois servers to find owner information for domain names and
+network addresses. By default, it looks for referrals to other whois
+database servers and queries the next server in the chain if it finds
+one.
+
+.TP
+.B -a
+Specify a different server to start the query. (Default:
+.I tcp!whois.iana.org!43
+)
+.TP
+.B -n
+Do not attempt to follow referrals.
+.SH EXAMPLE
+To query for the owner of a domain and then an IP address, using a
+specific server while ignoring referrals to other servers:
+.IP
+.EX
+whois inferno-os.org
+whois -a whois.ripe.net -n 148.251.6.120
+.EE
+.SH SOURCE
+.B /appl/cmd/whois.b
+.SH "SEE ALSO"
+.IR RFC3912