The tee is a program, which enables you to save a copy of the data being transmitted within a pipeline. It has only one option-a, which appends the output to the specified file, rather than replacing the contents of the file each time. So, redirection in pipes can be achieved by tee.