pipe

Pipe From Hackepedia

If you need to send the output of one program to another program this is done by way of piping. For example you are listing the directory of your current working directory and want to see it in chunks called pages, you'll pipe the output of ls to more like so:

$ ls | more
when you create along chain of piped commands this is called a pipeline and can look like this (do not run this unless you need to kill your webserver via brute force method):
$ ps ax | grep httpd | awk '{print $1}' | xargs kill

Wenn Sie es benötigen können Sie die ausgabe eines Programms in ein anderes Programm einspeisen, was piping genannt wird. Zum beispiel wenn man ein Verzeichniss listet und man will es eingeteilt haben in seiten umbrechungen dann würde man die ausgabe von ls in "more" pipen, wie so:

$ ls | more
wenn man eine lange kette von gepipeten kommandos macht heist das eine "pipeline" und kann so aussehen (bitte nicht nachkopieren ausser wenn sie ihren webserver killen wollen):
$ ps ax | grep httpd | awk '{print $1}' | xargs kill