output

Usage

.tee [filename]

Description

The tee command redirects the output of commands to the system clipboard or a file and stdout (console). If option is provided, the output is redirected to stdout (console).

Examples

Redirect the output of commands to the system clipboard and the console:

.tee clipboard

Redirect the output of commands to a file named output.txt and the console:

.tee output.txt

Redirect the output of commands to stdout (console):

.tee