Top "Pipe" questions

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

How to execute the output of a command within the current shell?

I'm well aware of the source (aka .) utility, which will take the contents from a file and execute them within …

bash shell unix pipe
Delete a list of files with find and grep

I want to delete all files which have names containing a specific word, e.g. "car". So far, I came …

grep find pipe rm
Filtering an array in angular2

I am looking into how to filter an array of data in Angular2. I looked into using a custom pipe, …

arrays typescript pipe filtering angular
Concatenate in bash the output of two commands without newline character

What I need: Suppose I have two commands, A and B, each of which returns a single-line string (i.e., …

regex bash sed pipe concatenation
How to detect if my shell script is running through a pipe?

How do I detect from within a shell script if its standard output is being sent to a terminal or …

bash shell pipe
Multiprocessing - Pipe vs Queue

What are the fundamental differences between queues and pipes in Python's multiprocessing package? In what scenarios should one choose one …

python performance queue multiprocessing pipe
Reading line by line from STDIN

I want to do something like this: $ [mysql query that produces many lines] | php parse_STDIN.php In parse_STDIN.…

php pipe stdin
Pipe input into a script

I have written a shell script in ksh to convert a CSV file into Spreadsheet XML file. It takes an …

shell unix pipe ksh
Pipe output to bash function

I have as simple function in a bash script and I would like to pipe stdout to it as an …

linux bash pipe
What is a simple explanation for how pipes work in Bash?

I often use pipes in Bash, e.g.: dmesg | less Although I know what this outputs, it takes dmesg and …

bash pipe