>_ linuxcommand.dev
Startseite tee
Text processing

tee

Reads from stdin and writes to stdout and files.

Ubuntu CentOS Debian Arch SUSE Slackware Alpine Fedora
Verified: 2025-10-08
Syntax
$tee [OPTIONEN] [DATEIEN]
Examples
$ls | tee dateiliste.txt
$echo 'test' | tee -a log.txt
Typical use cases
?
Standard usage
tee --help
Note Useful for logging and simultaneous output.
Export