summaryrefslogtreecommitdiff
path: root/ucspi-tcp-0.88/date@.1
blob: fa0ba98608ed794179d93edc5281a7715e26801d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
.TH date@ 1
.SH NAME
date@ \- print the date on a host
.SH SYNTAX
.B date@
[
.I host
]
.SH DESCRIPTION
.B date@
connects to TCP port 13 (Daytime) on
.I host
and prints any data it receives.
It removes CR and converts unprintable characters to a visible format.

If
.I host
is not supplied,
.B date@
connects to the local host.

Some computers respond to port 13 with a human-readable date.
For example, they may be running

.EX
     tcpserver 0 13 date &
.EE
.SH "SEE ALSO"
cat(1),
delcr(1),
tcpclient(1),
tcpserver(1)