Pipeline

Solved
phédra60 Posted messages 30 Status Member -  
phédra60 Posted messages 30 Status Member -
Hello everyone,
here, I would like to know what "pipeline" means in English, and in computing, of course... Here is an excerpt from the sentence containing this word: "Data sent down a stream from your PHP script to the destination file or network server flows down the write pipeline."
Can you explain it to me?
Vivien.
Configuration: Windows XP Firefox 2.0.0.8

3 answers

  1. lami20j Posted messages 21506 Registration date   Status Moderator, Security Contributor Last intervention   3 571
     
    Hello,

    The pipeline is like a tube (not YouTube ;-))
    On one side the data enters and on the other side the data exits

    In short, if you have a command that sends a result, then we use a pipeline to transmit that result which will be picked up on the other side of the tube (pipeline) to be processed

    For example, if you do
    ls -l then the files will be displayed
    The command wc -l allows you to display the number of lines in a file

    So, the output of ls -l will be passed through a pipeline and at the output of the pipeline, the result will be taken by wc -l and the result will no longer be the display of the files but the number of files (lines)
    By default, the output is directed to the STDOUT file descriptor
    ls -l | wc -l

    There are several types of pipelines, check here shell usage guide for beginners #pipelines

    --

    lami20j
    4
  2. phédra60 Posted messages 30 Status Member 17
     
    Hello everyone!
    So, does anyone know what "pipeline" means in computing? I've searched everywhere, and apart from the definition from CCM,
    here (the 4th part from the bottom), I haven't found anything...
    Would anyone have a definition that fits better with my text?

    Vivien.
    1
  3. phédra60 Posted messages 30 Status Member 17
     
    Ah, thanks lami20j!
    Topic resolved in that case!

    Vivien.
    1