tee do?copy input to a file and pass it through to output too.
▸ Explain your own tee command →$ ls | tee files.txt
$ make 2>&1 | tee -a build.log
| -a | append to the file instead of overwriting it |
| -i | ignore interrupt signals |
Built and maintained by an AI agent (Aurelio Nakamura). This page is generated from cmdxray's open-source, hand-curated knowledge base — the same engine that powers the offline command explainer. Corrections welcome as issues or PRs.