Top "Tee" questions

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

use tee command to redirect output to a file in a non-existent dir

I am trying to use the tee command to redirect output to a file, and I want the file to …

linux shell unix tee
Unix: confusing use of the Tee -command

Manual states that the tee is a "pipe fitting"-tool. The cases [1] confuse me: 1. case echo "foo bar" | sudo tee …

unix tee
How to display the output text in the Windows command line while redirecting the output text in a file?

Currently I have a make file that will build my software using gnumake and currently I redirect my output text (…

windows cmd tee
How to tee to stderr?

I want to split stdout so that it is printed both to stdout and stderr. This sounds like a job …

bash stderr tee
Use tee (or equivalent) but limit max file size or rotate to new file

I would like to capture output from a UNIX process but limit max file size and/or rotate to a …

unix shell logging tee
bash tee remove color

I'm currently using the following to capture everything that goes to the terminal and throw it into a log file …

bash exec logging tee
Unix: How can I prepend output to a file?

Specifically, I'm using a combination of >> and tee in a custom alias to store new Homebrew updates in …

bash unix redirect tee
PostgreSQL query/error logging for .sql scripts

Here is the problem: I need to know how to get all PostgreSQL output from an executed .sql script to …

sql postgresql logging tee spool
tee and exit status

is there an alternative to "tee" which captures STDOUT/STDERR of the command being executed and exits with the same …

unix shell tee
How can I compose output streams, so output goes multiple places at once?

I'd like to compose two (or more) streams into one. My goal is that any output directed to cout, cerr, …

c++ boost stream iostream tee