How to Use Tee on Linux

Zubair Ahmed
Nov 8, 2020 · 3 min read

What Is Tee?

tee on Linux is a command-line tool, it reads from the standard input and is the capability of writing results to the terminal's standard output and files at the same time. This essentially lets you store and view (both at the same time) the output at any time.

How to Use It?