Top "Io-redirection" questions

I/O redirection is used in shell scripting.

What does "2>&1" in a Windows Command Do?

Doing some maintenance on a script, I found this line: ping -n 40 127.0.0.1 > NUL 2>&1 I know from this …

windows cmd sleep ping io-redirection
I/O redirection in Eclipse?

Is it possible to use I/O redirection in Eclipse? I want to redirect standard input/output on the command …

java eclipse io-redirection
"No such file or directory" on simple bash redirection

Here is some code of mine: gzip -c $path > /var/www/wiki/backup/$now/$file.gz I'm gzipping the …

bash io-redirection
How to do proper Unicode and ANSI output redirection on cmd.exe?

If you are doing automation on windows and you are redirecting the output of different commands (internal cmd.exe or …

unicode console ansi cmd io-redirection
Redirecting standard input of console application

I have a console application which I'm trying to automate by redirecting Standard input stream of the process. In manual …

c# process iostream io-redirection
Shell: How to cut a single string with "Cut"?

i'm trying to cut a string into the shell. I'd like to do something like: cut -d' ' -f1 "hello 12345 …

bash shell sh cut io-redirection
Redirect output to a file permission denied?

I want to do a simple redirection. When I do sudo curl <insert link here> > a.txt …

unix curl permission-denied io-redirection
Why does 'top | grep > file' not work?

I tested the following command, but it doesn't work. $> top -b -d 1 | grep java > top.log It doesn't …

linux shell io-redirection
strace tmux output redirected to a file

I want to check which files does tmux touch when it is launched (not just the list of open files …

io-redirection strace
PhantomJS: exported PDF to stdout

Is there a way to trigger the PDF export feature in PhantomJS without specifying an output file with the .pdf …

pdf pipe file-descriptor phantomjs io-redirection