1
00:00:00,090 --> 00:00:01,470
Welcome back to this video.

2
00:00:01,950 --> 00:00:04,980
So let's quickly see some more.

3
00:00:05,010 --> 00:00:10,260
Hardware system information, commands that are useful for us.

4
00:00:10,380 --> 00:00:11,120
All right.

5
00:00:11,130 --> 00:00:16,020
So let's quickly begin with this command, which is also F.

6
00:00:16,500 --> 00:00:25,620
Now, when I type this command and hit enter, it is going to list all the open files on my Linux system.

7
00:00:26,010 --> 00:00:33,840
So when I hit enter, you can see these are all the list of open commands on to my operating system.

8
00:00:34,950 --> 00:00:35,700
Perfect.

9
00:00:36,000 --> 00:00:44,160
Now, if I want to specifically see the files which are being opened by a specific user.

10
00:00:44,190 --> 00:00:52,960
So for that I need to type the command, which is ls0f space hyphen u and specify the user.

11
00:00:52,980 --> 00:00:56,640
So let's say the user is a root currently and hit enter.

12
00:00:57,450 --> 00:01:04,560
And you can see these are all the list of files which has been opened by the user route.

13
00:01:04,650 --> 00:01:09,960
You can specify any user that you want that you are currently logged in.

14
00:01:11,220 --> 00:01:13,950
All right, so the next command is free.

15
00:01:14,100 --> 00:01:21,420
Now this command displays the free and the used memory into your computer.

16
00:01:21,450 --> 00:01:24,060
So let us type free and hit enter.

17
00:01:24,540 --> 00:01:28,500
And here you can see the memory, which is total.

18
00:01:29,210 --> 00:01:33,920
Used free shared cash and available.

19
00:01:33,980 --> 00:01:38,340
Now these numbers may look like something weird.

20
00:01:38,360 --> 00:01:45,470
So to get the output in human readable format, we are going to type the command free hyphen etch,

21
00:01:45,470 --> 00:01:51,770
which means the output is going to be shown into the human readable format.

22
00:01:52,220 --> 00:01:59,930
Now this makes sense and we can see the total memory given to this computer is 2.9 GB, out of which

23
00:01:59,930 --> 00:02:02,630
701 MB b is used.

24
00:02:02,810 --> 00:02:06,740
It it it me is three currently.

25
00:02:07,430 --> 00:02:08,050
All right.

26
00:02:08,060 --> 00:02:16,700
If you want to see the output in GB, you can just simply type free hyphen g hit enter.

27
00:02:16,730 --> 00:02:23,540
You can see the output over here, free hyphen M and you can see the output similarly like this.

28
00:02:23,780 --> 00:02:24,350
All right.

29
00:02:25,040 --> 00:02:33,590
Now, if you want to see what is the disk usage, you can simply type DU and hit enter and you will

30
00:02:33,590 --> 00:02:36,740
be able to see the disk usage onto this computer.

31
00:02:37,130 --> 00:02:44,330
Also, if you want to see the free disk space, this type DF and hit enter and you will be able to see

32
00:02:44,330 --> 00:02:46,580
the disk space into this computer.

33
00:02:46,910 --> 00:02:55,190
Now in case you want to see periodic updates of disk or memory, for that, you can simply type the

34
00:02:55,190 --> 00:03:02,630
command, watch disk, DfE, hyphen, etch in human readable format.

35
00:03:02,780 --> 00:03:12,440
And here you can see every 2.0 seconds this command will show you the periodic updates of what is the

36
00:03:12,440 --> 00:03:14,150
disk into this computer.

37
00:03:14,450 --> 00:03:17,780
You can simply come out of this by pressing control.

38
00:03:17,780 --> 00:03:21,440
C you can also see the.

39
00:03:22,320 --> 00:03:27,840
Process usage by typing the command watch top and hit enter.

40
00:03:27,900 --> 00:03:30,330
All right, let me just cancel this as well.

41
00:03:30,810 --> 00:03:36,480
I hope you guys understood how you can execute a command and you can also see the periodic updates for

42
00:03:36,510 --> 00:03:39,060
that command that is happening in real time.

43
00:03:39,270 --> 00:03:40,660
I hope you guys understood.

44
00:03:40,680 --> 00:03:41,460
Thank you.
