>_
linuxcommand.dev
Home
Roadmap
Contact
EN
DE
Deutsch
EN
English
ES
Español
Dark
>_
>_
linuxcommand.dev
Home
Roadmap
Contact
Legal Notice
Privacy Policy
Language
DE
EN
ES
Design
Dark
Startseite
›
tee
Filesystem
tee
Read stdin and write to files and stdout.
Ubuntu
CentOS
Debian
Arch
SUSE
Slackware
Alpine
Fedora
Last updated:
2026-07-05
Report error
Syntax
Copy
$
tee [OPTIONS] FILE
Examples
Examples
$
echo text | tee file.txt
Typical use cases
Branch output
echo text | tee file.txt
Note
Use -a to append instead of overwrite.
Export
Text
JSON
Script