1
00:00:01,490 --> 00:00:02,780
Hello and welcome.

2
00:00:03,020 --> 00:00:10,400
So now we are going to continue our commands and in this lesson we are going to see the hardware information

3
00:00:10,400 --> 00:00:13,580
commands for our Linux operating system.

4
00:00:13,940 --> 00:00:20,300
Now, before going to those commands, let me show you one command, which is very important and is

5
00:00:20,300 --> 00:00:24,320
very, very helpful and handy, which is the history command.

6
00:00:24,530 --> 00:00:32,600
Now, by typing history onto your terminal, you are going to know all the commands that you have previously

7
00:00:32,600 --> 00:00:34,490
executed onto your terminal.

8
00:00:34,670 --> 00:00:42,050
So let us simply type history and hit enter and you can see the commands that we have been executed

9
00:00:42,050 --> 00:00:43,610
into our computer.

10
00:00:44,420 --> 00:00:51,210
This is very helpful to know what were the previous commands that we have executed into our computer?

11
00:00:51,230 --> 00:00:58,070
As you can see, I have executed a lot of commands into my computer in my history, which can be seen

12
00:00:58,070 --> 00:00:58,850
from here.

13
00:00:59,960 --> 00:01:00,770
Perfect.

14
00:01:00,950 --> 00:01:02,810
Now let's move forward.

15
00:01:03,110 --> 00:01:05,810
Let me just clear the terminal for you.

16
00:01:06,080 --> 00:01:10,580
For that, you need to type the command, which is clear and hit enter.

17
00:01:11,210 --> 00:01:18,170
All right, so the first command of this lesson is d m e s g.

18
00:01:18,500 --> 00:01:26,420
Now, when we type this command, we are going to display the messages in the col ring buffer, which

19
00:01:26,420 --> 00:01:31,130
looks something like this, and you can see the output over here.

20
00:01:31,910 --> 00:01:37,010
Now the second command is cat space.

21
00:01:38,300 --> 00:01:41,690
Proc space CPU info.

22
00:01:41,960 --> 00:01:44,580
Now you must have guessed it right.

23
00:01:44,600 --> 00:01:50,490
This command is used to display and know the CPU information.

24
00:01:50,510 --> 00:01:59,150
As you can see over here, the processor, the vendor ID, the CPU, family model, the CPU, megahertz

25
00:01:59,180 --> 00:02:01,460
caches, etc., etc..

26
00:02:01,490 --> 00:02:05,480
So this is the information about the CPU.

27
00:02:05,510 --> 00:02:11,960
It says Intel core i7 910 CPU at 2.6 gigahertz CPU.

28
00:02:12,170 --> 00:02:12,860
Perfect.

29
00:02:13,160 --> 00:02:20,480
Now similar to the CPU information, let us understand the memory information, which is the RAM information

30
00:02:20,480 --> 00:02:21,260
for that.

31
00:02:21,260 --> 00:02:23,380
Instead of CPU, you simply have to type.

32
00:02:23,390 --> 00:02:24,110
Mm.

33
00:02:24,350 --> 00:02:27,680
It stands for memory and hit enter.

34
00:02:27,920 --> 00:02:36,350
And here you can see the memory which has been allocated to this CPU and you can see these are all the

35
00:02:36,350 --> 00:02:44,600
details of the memory and you can see the memory total, the memory free, the memory which is available,

36
00:02:44,630 --> 00:02:46,070
etc., etc..

37
00:02:46,850 --> 00:02:47,600
Perfect.

38
00:02:47,630 --> 00:02:49,250
Let's move forward.

39
00:02:49,430 --> 00:02:54,740
And now we are going to see the command, which is free space hyphen etch.

40
00:02:54,770 --> 00:03:04,970
Now this displays the free and used memory hyphen etch stands for human readable format hyphen MX that

41
00:03:04,970 --> 00:03:07,520
we are going to see currently stands for.

42
00:03:07,550 --> 00:03:11,300
To see the output in M.B. and hyphen G stands for.

43
00:03:11,330 --> 00:03:13,440
To see the output in GB.

44
00:03:13,460 --> 00:03:19,220
So let me just simply first type etch and hit enter and you can see the total memory which has been

45
00:03:19,220 --> 00:03:22,220
assigned is 2.9 GB.

46
00:03:22,250 --> 00:03:23,450
How much is used?

47
00:03:23,480 --> 00:03:25,820
How much is free, etc..

48
00:03:26,620 --> 00:03:28,900
And you can see the output in GB.

49
00:03:28,990 --> 00:03:34,270
If I type hyphen m, you will be able to see the output in MX.

50
00:03:35,290 --> 00:03:36,550
I hope this is clear.

51
00:03:36,880 --> 00:03:39,160
Now let's move forward.

52
00:03:39,460 --> 00:03:43,480
Now we are going to see the command to display the PCI devices.

53
00:03:43,510 --> 00:03:48,610
If connected for that, you have to type ls PCI.

54
00:03:50,030 --> 00:03:53,780
And Space Hyphen TV.

55
00:03:53,960 --> 00:03:59,780
And you can see if any devices that are being connected to my operating system.

56
00:03:59,780 --> 00:04:05,950
And you can see there are a few network adapters which have been connected.

57
00:04:05,960 --> 00:04:13,610
As you can see, the network controller, the USB controller, the VMware Virtual Machine Communication

58
00:04:13,610 --> 00:04:16,160
interface, which has been connected, etc..

59
00:04:16,310 --> 00:04:23,060
Now if you want to see the USB devices that are being connected for that, you simply have to type LS

60
00:04:23,120 --> 00:04:33,440
USB, USB space, hyphen TV and if any USB devices, if connected, you will be able to see over here.

61
00:04:33,470 --> 00:04:36,400
Now, I have not connected any external device.

62
00:04:36,410 --> 00:04:42,650
You can simply connect an external device and you will be able to see the external device over here.

63
00:04:43,630 --> 00:04:44,240
Perfect.

64
00:04:44,590 --> 00:04:53,200
Now, moving forward, if you want to display the DMI or SNMP iOS hardware information from the bios

65
00:04:53,650 --> 00:05:00,490
that also can be seen using the command, which is the D code and hit enter.

66
00:05:00,760 --> 00:05:04,090
And you can see the BIOS information over here.

67
00:05:04,600 --> 00:05:05,200
Perfect.

68
00:05:05,230 --> 00:05:12,250
Now, if you want to see the disk usage, you can simply type do and you will be able to see the disk

69
00:05:12,250 --> 00:05:14,080
usage by each file.

70
00:05:14,200 --> 00:05:22,060
In case you want a cleaner output, you can simply type d f and you will be able to see the disk usage

71
00:05:22,060 --> 00:05:26,490
of the file system of each disk that has been attached.

72
00:05:26,500 --> 00:05:35,230
Here you can see slash def slash PSD one which is being used 25%, which is also mounted on slash boot,

73
00:05:35,230 --> 00:05:37,510
which we are currently using.

74
00:05:38,020 --> 00:05:45,760
So this is how you can get the system information about the operating system that you are using as well

75
00:05:45,760 --> 00:05:47,500
as the hardware information.

76
00:05:47,650 --> 00:05:49,060
I hope you guys understood.

77
00:05:49,060 --> 00:05:53,960
And in case you have any issues, feel free to ask into the Q&amp;A section.

78
00:05:53,980 --> 00:05:54,760
Thank you.
