The tag has no wiki summary.

learn more… | top users | synonyms

1
vote
5answers
124 views

How can I both pipe and display output in Windows' command line?

I have a process I need to run within a batch file. This process produces some output. I need to both display this output to the screen and send (pipe) it to another program. The bash method uses ...
0
votes
2answers
847 views

Preserve colors while piping to tee

ls -l --color=auto | tee output.log Without pipe/tee it's colored. How can I make it so that it stays colored while using tee (can be colored only on the screen, I don't care about colors in logs).
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
votes
1answer
39 views

Why the tee command output something very strange when I capture the result from VIM?

I can recognise the welcome message, like: VIM - Vi IMprovedversion 7.3by Bram Moolenaar et al.Vim is open source and freely distributableBecome a registered Vim ...
0
votes
2answers
209 views

UEFI vs. ARM TrustZone

I understand UEFI has a Secure Boot feature that is now for all Win 8 (tablets, and smartphones). How does this fit in with AMR's TrustZone for example? Is UEFI like a firmware TPM that can sit as a ...
1
vote
2answers
105 views

How to log output of a part of a shell script

I'm looking for a concise solution for logging the output of a part of a shell script to a file. Additionally, I still want to be able to follow the life output on screen. From the man pages of ...
2
votes
3answers
957 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 ...
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 ...
0
votes
1answer
173 views

update terminal title from standard output of long running command?

I'd like to change the title of a terminal window during a long running command (for example: git svn fetch) with values greped from the output, whilst still writing to standard output. Is this ...
2
votes
2answers
900 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
966 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 ...
2
votes
1answer
292 views

cygwin mirrors/ repositories - tee and svn

I have run Cygwin setup using a handful of different repositories, but certain programs appear to be missing from from the ones I have tried so far. I am specifically looking for tee and svn. Which ...
3
votes
1answer
608 views

Linux: redirecting stdout and stderr

I want to write stdout to a file but also prints stdout and stderr. I tried using tee: prog | tee stdout.txt but this causes the printed stderr and stdout to be interleaved incorrectly, i.e. if the ...
4
votes
1answer
1k views

PowerShell Tee questions

I use this command to see output both on console and file: powershell -command "my_command_1 | tee ('logs\{0}.log' -f (Get-Date -format 'yyyy.MM.dd-HH.mm'))" powershell -command "my_command_2 | tee ...
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?