Now it's time to talk about their linked list or the listing or the shortcuts inside, then OK, now
luxury for that.
We are using the end comment, which is very common.
So, man, and to see so you can see that mic links between flights.
OK, so here are the synopsis.
You can see that the first form, the second, third, fourth, you can see that we have a lot of options,
a lot of arguments, the other whatever.
All right.
Now, as simple as that, what is the most important?
For example, let's make a directory, so let's name it and that.
OK, whatever.
OK, so now I want this Ellendale to be linked.
So let's make a deal to it.
OK, um, and actually to make this delta without go to the directory, we already learned that.
So dial one and then we create the two and it is that one.
If that existed we can watch the dashboard or that option.
So to make directory of the ballot does not exist.
But the ballot existed by the way.
And as or else Deshotel.
Sometimes some of the Linux distribution it have this alias, which is the L, L and L, which means
the dash, OK, by the way, but it is alias now what is and isn't what.
He will talk about it later.
All right.
Now let's start using the N option or so n.
The source, the destination.
OK, but by the way, it's better to use absolute death in my case so you can see that if I type out
or be considered, I have the home option to then and home open-top and die.
And this means that I want this directory to be linked to another directory.
OK, so I want this Lindale and I would go home, Open-top and I will put Lyndy up too.
OK.
All right.
So you can see that now hard link are not allowed for directress because we are linking between directories.
We cannot do a Harnik, so we will use in this option.
The opening or this impregnates.
In either case, actually, in windows, they are called shortcuts, OK, and they are very simple,
by the way, but just by putting the dash as option, which means symmetric or or soft link.
OK, so by this.
Yeah, everything is as expected.
You can see that that line two is now referring that the one we created here, as you can see, which
is the destination, it's referring or linking or linked to Lindahl, which is this one.
OK, OK, so far so good.
So actually if I typed that and now you can see that here and dirtball is now as you can see, there
are all is now listed or is now linked to the home of to indict or Lyndy.
OK, so if I go to Lyndy two it will go me to the window to actually if I create a directory here,
its name it Diyab Diet for example, or whatever, OK, and I return back, it's clear the screen first
then I would go to Linda this time.
OK, not nothing there to and I type I guess you can see there there is existed as well.
So you can see that any modification.
I create files, I create something, I eat something actually anything here.
And so I think that too will be referred to in there too by the way, that too because we created as
a soft links or Semitic links, actually they are a shortcut to the window, which means that this is
just a pointer to that in that not a copy.
And and the other hand, the hard link is something else.
So if I go back.
Here you can see that the entire two is now inside or the same thing as Linda.
OK, now let's remove it.
Undersheriff Linda.
And let's do it then, Linda.
But before I did it, actually, I want to show you something.
So actually, if I go to Lyndy to like this, you can see that I am inside the Lindale, too, and actually
went in there, too, is the same as the night we saw that, because after we created this directory,
the same directory is created there.
Actually, it is the same data, not something new or something covid, OK.
Now what if I want to go clear the skin first?
So what if I want to go to the actual nothink?
By the way, you can see that now it is a bright blue here.
As you can see, the color is different than the color, which means this is a list.
And if I go to it, we saw that we are inside that entire tool.
But what if I want to go to the actual directory?
Not so much typing unless I mean, I don't need to go to India, too.
I need to go to the actual directory, which is the home.
I went to that Linda.
How to do that?
We would use the CD dash option and then I would go to the lender to actually option or per capita.
Sorry about this.
So you can see that option with a capital P and go to India too.
It will go to India, which is the physical actual directory, not the linked list or the copy from
it, because you know that this is a linked list, asymmetric list that repairing or pointing to the
ALINDA, we will go directly to the actual original directory, which is link that.
And as you can see, we are inside the lyndy right now.
We learned about that, symmetric links.
Now this learn about that hardening.
So actually, the hotlink is the same format, but without using the option, as you can see.
So symmetric dachas Healthlink would do it without that.
OK, so source destination.
The source is promoting the job.
And again, the directory does not accept hardening just assorting, but for regular files.
Yeah, except that it's OK.
So here I want this remoting job, I want to create a link from it so it will be referred to this.
But actually it's better to have a text file.
Yeah.
So I will use the touch command or let's use this command.
Actually it's good to practice that.
So AECO Hello.
And I would use that if they don't worry about this, we will talk about this in detail.
But for me for now actually.
So t the text.
OK, all right, let's clear the screen and let's see now we have that t the text if I can get it,
or concatenation using the concatenation.
Yeah.
We have the hello inside it now and then he the text and it's better we saw that it is better to book
the absolute best.
OK, but by the way it's something.
Yeah.
It work even if you didn't provide the others.
But it worked but sometimes it would give you infinite loop.
So and actually this is a bad practice to what a relative bef inside the linked list.
Sometimes it worked but I didn't prepare it from my best.
O'Banion, I didn't prefer that the relative bad for the linked list.
OK, either either Healthlink or something.
So yeah the text now this is the source, the destination.
We will be the same home I want to see to the text.
OK, which is the list.
All right.
Unless now you can see that we have T and we have to two.
OK, so if I remove the original part either as I said and it's tried as a link list so think or as
Harnik, so let's remove Musharraf that Lindahl which is the one we created and this is referring or
pointing to it and as nationally or politically risky.
Sorry about this.
And as you can see, that Lindahl too is now.
Right, which means that this fight can couldn't be found.
So if I type and they are two or three, let's go to an end to the other two.
You can see that no such file or directory, OK, because this fight is not exist anymore, but it is
existed.
You can see that it is here, but we cannot go to it because lyndy are two that was wanting to Linda
is not existed anymore.
Alright.
But on the other hand the hard link.
So let's have a look here.
If I remove the t the text.
OK, not that you two and if I type unless you can see that we have it here and as well we still have
it Nasrat.
So if I can t to the text you can see that.
Yeah it is.
Hello as well.
Alright, so you can see that the list of things is something like the shortcut in windows.
It is the shortcut.
OK.
If you are coming from winders, I mean, but here the hard link is no, it will create a copy, the
same copy from the file.
It is just like the copy.
It will create a copy from it.
And if it is, if the origin is deleted, it's OK.
So you may ask, but what is the difference?
What is hard?
What what is the difference between copying the file or the hard link.
OK, for the sort of thing we saw.
Yeah, it is just like the shortcut and yeah it worked.
If we removed the original it will be removed or it will be like this.
But the hard thing actually no it is not like the copy because any modification on the original or any
modification on T to it will be applied to the original.
OK, let's see, let's see again.
Let's clear the screen now.
Let's remove the key tool.
We just need this file actually.
Let's create another this removed directory.
Lindahl two.
It's OK.
We don't need them now.
Let's clear this fight, OK, this time I will use the touch command, which is D1 or T the text, and
decided I can put this command on this thing.
This is key the text.
OK, I will use redirection now.
Please don't get confused again.
I will talk about this later on.
OK, so t don't text like this and if I catch it, let's see what's inside it.
Yeah we have.
This is the text.
OK, so far so good.
Let's clear the screen and now this is what it is.
Now let's end and pull up until t the text.
Sorry about this.
I pressed enter by mistake now here home Ubuntu and T to the text.
OK, so we are creating a hard link from this regular file text file.
The source is the text and we saw what inside it.
This is the text and here we have the T to the text and this recentre this and here we have T a. two.
If I get the T tool we already saw what inside the text.
This is a text.
But here this is the text as well.
OK, so far so good.
All right.
You may ask me, but this is the same as the copy.
Yeah.
OK, now if I edit the content of T to using I would use them for now.
Don't worry about them.
We will talk about it in detail.
But for now, just follow me.
All right.
OK, so t to the text and inside it I would watch.
Another line.
OK, and let's say this, OK, all right, now let's get to the text, not here to the text and let's
see.
Yeah, you can see that we edited or we modified T to the text, but the modification has been applied
to the T the text, which is another line, which means that T to A..
They are connected together.
So any modification happens on T two or T they would be applied to each other.
So again, now this time it's would on modify t the text, not T to the text.
So t like this, let's modify third line.
OK, whatever.
That's it.
And see.
Now let's get to when we divide the text.
Now it's time to, to see it all.
Let's see.
Yeah, they're nine, so you can see by practice that T to A. They are connected together, but the
difference between shooting and hardening is that soft drink if you remove the original and we already
saw that by doing this practice on the temptress, which is what we saw.
But the hard link.
No, if you delete the origin in the T two or the linked the hard linked fight, it will be still stand
standstill.
It will not be removed and it will be working as fine as it's called.
Thanks for watching.
I see you in the next little.