Right now, it is time to talk about direction and the things now I'm assuming that you already watch
the theory brought about by description some commands.
OK, so we will start with the redirection first.
So as you can see, if I type it as far as Dash and can see that I have this specific output.
OK, now what if I want this output to be inside a text file?
So actually I will type as dash, which is the command.
I will use that greater than here.
The redirection.
OK, sorry, this and then I will provide to a specific file and I will name it by the text.
Now, if I type in, as you can see, that by the text is here, let's get it behind us.
You can see inside it we have a taste of the output of these, as you can see.
All right.
So far, so good.
Now, if I want to sort this fight, I will use the command called sort certifying the 26th.
OK, so as you can see now, it has been sorted.
OK, now, with specific criteria, whatever.
OK, now I'm not talking about the criteria of sorting or the mechanism, I'm talking about the command.
And now if I want to provide an input for this, by the way, that greater than here, which means the
output of this file.
Put it inside this fight.
OK, so the output of this will be redirected to this fight.
OK, this is the greater than less then.
This means that the input for this command, I need it to take be to be taken from this one.
So if I type sort but this time I didn't provide the final the text.
I provide that list that and would apply the 26th.
OK, this means that I, for the input of this command, should command take the input from five to
six.
If I type here, you can see that it give me the same value or the same result as you can see.
So everything is working as expected.
Now what if I want to put our event value to this five to six?
So for example, I thought a last dash for the time, for example.
All right.
So I will list all the temp directory content and I want it not to be overwritten over the five the
text.
I wouldn't want it to be appended on the file like this.
OK, now if I clear the screen first and get the text, you can see that now.
Yeah, we have.
And now this is the part for the first one.
This is the second part of the second one, which is the temp directory.
All right, so far, so good.
Now, what if I want to put a specific command now?
For example, I type A let's see here you can see that we don't have to text you.
Right?
So if I type LSP, the text, OK.
Sorry about this.
Yet, as you can see, no such photo directory.
Now, what if I don't want for this to be shown?
How should they do that?
I will do this, which is still a text, and then I will choose this thing, which is to.
On the.
So, yes, no.
And you can see this time after I lost this fight, the same message, no such file or destiny is not
written or is not printed.
Why?
Because the tool, which means the standard error will be now redirected to.
And by the way, this is a device for the old values, which means it's like the recycle bin in windows,
by the way.
OK, somehow you say somehow it is that like the recycling bin in windows, some policy.
OK, all right.
Now enough with this.
You have an idea now what is redemption?
How to use it.
And I will see you in the next lecture.