Top "Io-redirection" questions

I/O redirection is used in shell scripting.

Redirect output of command in for loop of batch script

... for /F %%F in ('dir /B %* 2> nul') do ( ... What I'm attempting to do here is discard the err output …

batch-file for-loop cmd io-redirection
redirect stdout/stderr to file under unix c++ - again

What I want to do redirect stdout and stderr to one or more files from inside c++ Why I need …

c++ c io file-descriptor io-redirection
how to send ssh job to background

I logged in to a remote server via ssh and started a php script. Appereantly, it will take 17 hours to …

bash ssh io-redirection
dup, dup2, tmpfile and stdout in python

This is a follow up question from here. Where I want do go I would like to be able to …

python stdout io-redirection dup2 dup
IO Redirection - Swapping stdout and stderr

Given a shell script: #!/bin/sh echo "I'm stdout"; echo "I'm stderr" >&2; Is there a way to call …

shell sh io-redirection
Install multiple homebrew formulas at the same time

You can install multiple homebrew formulas by brew install package1 package2. But if you have a text file with all …

unix homebrew io-redirection
Redirect stdout from SBT run to file

Inspired by the examples on the SBT github page, I'm trying to redirect the stdout produced from a run in …

sbt io-redirection
Redirect lldb output to file

I'm using lldb inside Xcode, and one of my variables contains a huge chunk of JSON data. Using po myVar …

lldb io-redirection
bash exec sending output to a pipe, how?

I experiment with exec'ing the bash itself only to redirect the output. If I use redirection like exec >bla.…

bash io-redirection
In bash, how do I open a writable file descriptor that's externally redirectable?

I'm trying to use bash to open a new descriptor for writing extra diagnostic messages. I don't want to use …

bash file-descriptor io-redirection