What Is Use of Tee Command in Linux?
Contents

The tee command is normally used to split the output of a program so that it can be both displayed and saved in a file. The command can be used to capture intermediate output before the data is altered by another command or program. The tee command reads standard input, then writes its content to standard output.

What is the use of SET command?

The SET command is used to set values that will be used by programs. DOS holds the set strings in the area of memory reserved for the environment (if the string already exists in the environment, it is replaced).

How do I get out of tee command?

Ignore Interrupt

To ignore interrupts use the -i ( –ignore-interrupts ) option. This is useful when stopping the command during execution with CTRL+C and want tee to exit gracefully.

Maya Lin-Takahashi

Maya Lin-Takahashi

Consumer Tech & Gadget Reviewer

Maya is a hardware enthusiast who tests and reviews smart home devices, smartphones, wearables, and audio gear. She focuses on practical consumer value and build quality.

Share this article
Twitter Facebook Pinterest