We have just tried to send the data from a study out and a study error.
Two different files.
And it was successful.
We have written different streams to different files.
And actually, we have tried this part their way out to different data streams as to day out.
And as to the error and two different files.
But what if we want to send the data from a study, our data stream to ESTA d in off hours or a process?
Let's try it using the same approach as we used in previous laterals.
Let's go to the terminal and let's suppose that we want to redirect a study out of Alaska and do a study
of God.
Come on, let's try approach that we have used with files, alas.
Then comes a greater than operator that will write direct to actually a study out of less command and
less here.
Right.
Got command.
And let's press enter.
And I see actually nothing.
I could try.
Here, add one because one is idea of SDD out.
And press enter.
And again, nothing.
And that means that was this greater than operating.
You are not able to redirect data from a study out or a study error to as did the in of Oslo process.
That's why here we see nothing.
If you want to do so, you need to use Ares or operator gold pipe and approach that is gold piping with
piping.
You could send data from a study out of one proses to están the in of Oslo process.
Next, you are also able to send a study out data flow from this process to a nahles or to the in of
Oslo process.
And so on.
You could pipe different processes one after previous.
But please note is that as did the error data stream is not piped and you are able to write that to
the file.
Same as we did in previous examples.
Or you could still bring it to the terminal.
That is actually the default action.
All right, let's try to use Bipin here in this example with less and got processes, and for that I'll
type Alaska then.
Pipe is vertical line.
And here we'll be cut like so for us, Panter.
And now I see list of files and folders.
And that means that now a study out from L'Esperance process was sent to ESTA Dean of God.
Process.
All right, but let me demonstrate you, that pipe does not sent as to the air data.
For that, I could use here got comment with some missing file, missing file, DODIG steelwork.
So.
And then let's suppose that they want to pipe a result of this comment to Annisa court process.
Press enter and I see error directly here in the terminal.
And that means that as did the air datastream was not sent to and also a process.
All right.
That's how you could dubi different brothas us together.
For example, let me pipe another process, eCom.
And by default, this command will simply bring some back to the terminal.
And this test will be supplied here as argument.
Let's dive.
Hello, Rold.
And if I press enter now I see output from SDD out datastream.
And it brings kilovolt.
Now let's suppose that they want to send the result of this operation to a nahles or command and less
use here.
Again, cut.
And let's suppose that they want to write a result of called operation from SDD out to file.
And here I would use following syntax greater than the sign.
And here will be.
Hello Steve.
Again you're following.
Will happen as to the out datastream of this process.
We'll send data to SDD in the court process.
And SDD out of court process will be stored in the file.
Hello to dig deep.
If this file is absent, it will be created.
All right, let's try it.
Enter.
I see nothing here in the terminal.
But if I at least contents of file.
Hello, the dig deep.
I see color rolled.
That's how it works.
And that's how we are able to combine.
Pipe operator and or direct operator.
Please note again that our direct operator will write.
Contents only to file.
It does not capable of sending data to as to of end of process.
For that you need to use bipap.
Right.
All right.
That's all for this lecture.
And next, let me summarize what we have discussed.
Over the course of that produce laterals.
I'll see you next.
Bye bye.