Correct use of tee command.