Top "Pipe" questions

A pipe is an interprocess connection between file descriptors of two processes.

Why no output is shown when using grep twice?

Basically I'm wondering why this doesn't output anything: tail --follow=name file.txt | grep something | grep something_else You can …

linux file command-line grep pipe
Python - how to execute shell commands with pipe, but without 'shell=True'?

I have a case to want to execute the following shell command in Python and get the output, echo This_…

python subprocess pipe
git update-index --assume-unchanged on directory

git 1.7.12 I want to mark all files below a given directory as assume-unchanged. 1) git update-index --assume-unchaged dir/ gives "Ignoring path." 2) …

git command-line pipe
Pipe multiple commands into a single command

How can I pipe the stdout of multiple commands to a single command? Example 1: combine and sort the output of …

bash shell process pipe subshell
How to allow html in return of angular2 pipe?

I have a pipe that returns a html string, however the string outputs escaped presumably as a default for security. …

pipe angular
gdb - debugging with piped input (not arguments)

I typically run my program with: perl -e 'print "A"x200' | ./vuln_prog The stdin is consumed by a …

gdb pipe
How to pipe several commands in Go?

How can I pipe several external commands together in Go? I've tried this code but I get an error that …

go pipe
How to extract tar archive from stdin?

I have a large tar file I split. Is it possible to cat and untar the file using pipeline. Something …

pipe stdin tar pipeline
When should I use GCC's -pipe option?

The GCC 4.1.2 documentation has this to say about the -pipe option: -pipe Use pipes rather than temporary files for communication …

gcc pipe compiler-options
Why doesn't more Java code use PipedInputStream / PipedOutputStream?

I've discovered this idiom recently, and I am wondering if there is something I am missing. I've never seen it …

java design-patterns concurrency pipe