Welcome back to this video.
So let's quickly see some more.
Hardware system information, commands that are useful for us.
All right.
So let's quickly begin with this command, which is also F.
Now, when I type this command and hit enter, it is going to list all the open files on my Linux system.
So when I hit enter, you can see these are all the list of open commands on to my operating system.
Perfect.
Now, if I want to specifically see the files which are being opened by a specific user.
So for that I need to type the command, which is ls0f space hyphen u and specify the user.
So let's say the user is a root currently and hit enter.
And you can see these are all the list of files which has been opened by the user route.
You can specify any user that you want that you are currently logged in.
All right, so the next command is free.
Now this command displays the free and the used memory into your computer.
So let us type free and hit enter.
And here you can see the memory, which is total.
Used free shared cash and available.
Now these numbers may look like something weird.
So to get the output in human readable format, we are going to type the command free hyphen etch,
which means the output is going to be shown into the human readable format.
Now this makes sense and we can see the total memory given to this computer is 2.9 GB, out of which
701 MB b is used.
It it it me is three currently.
All right.
If you want to see the output in GB, you can just simply type free hyphen g hit enter.
You can see the output over here, free hyphen M and you can see the output similarly like this.
All right.
Now, if you want to see what is the disk usage, you can simply type DU and hit enter and you will
be able to see the disk usage onto this computer.
Also, if you want to see the free disk space, this type DF and hit enter and you will be able to see
the disk space into this computer.
Now in case you want to see periodic updates of disk or memory, for that, you can simply type the
command, watch disk, DfE, hyphen, etch in human readable format.
And here you can see every 2.0 seconds this command will show you the periodic updates of what is the
disk into this computer.
You can simply come out of this by pressing control.
C you can also see the.
Process usage by typing the command watch top and hit enter.
All right, let me just cancel this as well.
I hope you guys understood how you can execute a command and you can also see the periodic updates for
that command that is happening in real time.
I hope you guys understood.
Thank you.