Top "Tee" questions

tee is both a Linux syscall and a user program that duplicates the contents of a pipe.

Displaying Windows command prompt output and redirecting it to a file

How can I run a command-line application in the Windows command prompt and have the output both displayed and redirected …

batch-file cmd stdout tee
How to duplicate sys.stdout to a log file?

Edit: Since it appears that there's either no solution, or I'm doing something so non-standard that nobody knows - I'll …

python tee
Piping command output to tee but also save exit code of command

I have a shell script in which I wrap a command (mvn clean install), to redirect the output to a …

bash shell pipe sh tee
Force line-buffering of stdout when piping to tee

Usually, stdout is line-buffered. In other words, as long as your printf argument ends with a newline, you can expect …

unix buffer pipe stdout tee
Capture stdout to a variable but still display it in the console

I have a bash script which calls several long-running processes. I want to capture the output of those calls into …

bash ubuntu tee process-substitution
Pipe output to two different commands

Possible Duplicate: osx/linux: pipes into two processes? Is there a way to pipe the output from one command into …

bash pipe tee
How to replicate tee behavior in Python when using subprocess?

I'm looking for a Python solution that will allow me to save the output of a command in a file …

python subprocess stdout stderr tee
bash: redirect (and append) stdout and stderr to file and terminal and get proper exit status

To redirect (and append) stdout and stderr to a file, while also displaying it on the terminal, I do this: …

bash stdout stderr tee
linux tee is not working with python?

I made a python script which communicates with a web server using an infinite loop. I want to log every …

python linux tee
How can I gzip standard in to a file and also print standard in to standard out?

I want to execute a command, have the output of that command get gzip'd on the fly, and also echo/…

linux bash shell tee