Disputations in this lesson, we will learn a couple of commands that are used to to show which filesystem
has been partitioned, whereas a petition to and what is your local filesystem disc's size?
The first command is D.F., which tells you your disconfirmation.
How much disk is used, where is it partition to?
And the second one to tell you how much the disk total size is and how many petition's has been created
out of the disk.
So let's try both of these disk commands in our Linux environment.
The first comment I want to type is just D.F. and just by typing D.F., the first column is tell you
where is this file system is coming from?
The size use available in percentage and mounted.
You could run D.F. each command and you will get the human readable output which will be in gigabyte,
the percentage and which where is it mounted to.
The next command is F disk.
F disk without any option is now going to give you anything.
So oftentimes it is used with an option minus L when you type F disk minus L, you will see right here
the disk size.
Let me do let me make this a little bigger.
OK, so when we type F this minus L, you will see that the disc is petition to slash Dev SDA just one
petition and it is 10 gig of space.
And right here it is telling you it is mounted on SDK one, which is Linux and the other one is sorry.
The first one is the swap and the one is the actual disk.
And it gives you some more information about the disk.
What is each size mounted for, if you'd notice here?
The first one.
The second one here is a S.O.S swap and I created a swap for one gig.
And that's what it's telling me, that the SEC this the first partition, which is right here, is my
Montello swap and the rest is mounted on our dev map or Centaurus route, and which is almost eight
and a half KIC.
So that's why these files of these commands are used for.
It is very useful when you want to add a new disk to your system and then after adding it, you want
to initialize it, you want to partition it and you want to mount it to you, to your mom points.