Top "Tee" questions

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

Jenkins: Permission denied to a 777 file

I have created a Jenkins build to compile and distribute some modules. The output of the build commands (e.g., …

logging jenkins file-permissions tee
cat /dev/null to multiple files to clear existing files like logs

A good way to clear logs(syslog has a handle on file) which have frozen my linux server(out of …

linux bash shell command-line tee
Shell - Pipe to multiple commands in a file

I want to run 2 commands on a piped-in input and want to print (to stdout) the output of both. Each …

bash shell tee
how itertools.tee works, can type 'itertools.tee' be duplicated in order to save it's "status"?

Below are some tests about itertools.tee: li = [x for x in range(10)] ite = iter(li) ================================================== it = itertools.tee(ite, 5) &…

python iterator duplicates tee
Piping an interactive session to a file

I have made a toy interactive console program that is basically an interpreter: $ myprogram > this is user input this …

bash unix tee
Tee does not show output or write to file

I wrote a python script to monitor the statuses of some network resources, an infinite pinger if you will. It …

python bash tee colorama
Using tee to get realtime print statements from python

I have a python script that looks something like this: for item in collection: print "what up" #do complicated stuff …

python stdout tee
Get exit code from subshell through the pipes

How can I get exit code of wget from the subshell process? So, main problem is that $? is equal 0. Where …

bash pipe exit-code tee subshell
Pipe to multiple files, but not stdout

I want to pipe stdout to multiple files, but keep stdout itself quiet. tee is close but it prints to …

bash stdout tee