cmd1 | tee file.txt | cmd2
Category: I/O Redirection & Pipes
Tee output — write to file and continue pipeline