0
votes
2answers
61 views

tee: What exactly does “--ignore-interrupts” option do?

The title basically says it all. tee has an option --ignore-interrupts: -i, --ignore-interrupts ignore interrupt signals Can anyone explain/give an example in which situation this is important? ...
0
votes
2answers
46 views

linux pipeline/tee process sequence

I think for the linux command, the pipeline: $ command1 | command2 | command3 will execute with sequence command1 -> command2 -> command3. But what about using tee: $ command1 | tee >(command2) ...
1
vote
1answer
191 views

How to combine the tee command with interactive scripts to log the results?

From some time usually record long outputs with tee to later less them, this is awesome to review configure and make outputs and such, but fails when the script or program is installation like, asking ...
2
votes
3answers
956 views

Alternative to the tee command without STDOUT

I'm using | sudo tee FILENAME to be able to write or append to a file for which superuser permissions are required quite often. Although I understand why it is helpful in some situation, that tee ...
2
votes
2answers
899 views

Use netcat as a proxy to log traffic

I want to use netcat as a proxy to log http requests and responses to files, then tail these to inspect traffic. Think wireshark. Tried the following where 'fifo' is a named pipe, 'in' and 'out' are ...
1
vote
1answer
963 views

Using tee to pipe ls and grep output into tail command without a script

I have an issue running through log files. I'm looking to use ls to create a list of files in the log directory and grep to run through for the specific instances/times the file ran. I only want to ...
3
votes
1answer
1k views

How to tee to stderr? (multiple sinks in one pipeline)

some_source | (tee /dev/stderr | sink_1) 2>&1 | sink_2 Seems to fail. How to do it right without of any temporaries?