How to Use the tee Command on Linux

Share
  • October 29, 2023

The tee command can save the output of your commands for later review. This command not only displays the output on screen but also records it in a separate log file. Let’s say you want to save the output of the df command to a file so that you can track your disk space usage over time. This command helps you to troubleshoot a process as it maintains a written record of processes.

Source : How to Use the tee Command on Linux