How to Use the Tee Command in Linux

If you ever use pipes and redirections under your Linux shell, chances are you will also sometimes need to make use of the tee utility. What Does Tee Do? A command such as ls will display the contents of your current directory. In other words, it displays these contents to stdout (standard output), which is normally your screen, or to be more precise, your virtual terminal display. A command like ls > file123 will display nothing on your screen. That’s because the >… Read more