summary refs log tree commit diff
path: root/bin/man1/ptee.1
blob: 661c488861d9f9ce40239ffb83f6accab142590a (plain) (blame)
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
.Dd July 8, 2019
.Dt PTEE 1
.Os
.
.Sh NAME
.Nm ptee
.Nd tee for PTYs
.
.Sh SYNOPSIS
.Nm
.Ar command ...
.Cm >
.Ar file
.
.Sh DESCRIPTION
.Nm
runs
.Ar command
in a new PTY
which is mirrored to
the current PTY
and standard output.
Standard output must be redirected
to a file or pipe.
.
.Sh SEE ALSO
.Xr tee 1