WEBVTT - This file was automatically generated by VIMEO

0
00:00:13.200 --> 00:00:17.100
Hello, and welcome. So now

1
00:00:16.100 --> 00:00:20.100
 we are going to continue our commands. And in

2
00:00:19.100 --> 00:00:22.600
 this lesson. We are going to see the hardware

3
00:00:22.600 --> 00:00:26.200
 information commands for our Linux operating

4
00:00:25.200 --> 00:00:26.500
 system.

5
00:00:27.200 --> 00:00:30.600
Now before going to those commands, let me

6
00:00:30.600 --> 00:00:33.400
 show you in command, which is very important and is

7
00:00:33.400 --> 00:00:36.200
 very very helpful and handy, which is

8
00:00:36.200 --> 00:00:39.700
 the history command Now by typing history

9
00:00:39.700 --> 00:00:42.400
 onto your terminal you are going

10
00:00:42.400 --> 00:00:46.500
 to know all the commands that you have previously executed

11
00:00:45.500 --> 00:00:48.800
 onto your terminal. So let

12
00:00:48.800 --> 00:00:51.700
 us simply type history and hit enter and you

13
00:00:51.700 --> 00:00:54.300
 can see the commands that we have been

14
00:00:54.300 --> 00:00:56.500
 executed into our computer.

15
00:00:57.800 --> 00:01:00.400
This is very helpful to know what

16
00:01:00.400 --> 00:01:03.900
 were the previous commands that we have executed into

17
00:01:03.900 --> 00:01:07.000
 a computer as you can see. I have executed a

18
00:01:06.100 --> 00:01:09.400
 lot of commands into my computer in my

19
00:01:09.400 --> 00:01:11.700
 history, which can be seen from here.

20
00:01:13.300 --> 00:01:16.700
Perfect. Now let's move forward. Let me

21
00:01:16.700 --> 00:01:19.800
 just clear the terminal for you for that.

22
00:01:19.800 --> 00:01:22.900
 You need to type the command which is clear and

23
00:01:22.900 --> 00:01:23.600
 hit enter.

24
00:01:24.500 --> 00:01:27.200
Alright, so the First Command of this

25
00:01:27.200 --> 00:01:30.800
 lesson is d m e s

26
00:01:30.800 --> 00:01:33.300
 g now when we type this

27
00:01:33.300 --> 00:01:36.800
 command we are going to display the messages

28
00:01:36.800 --> 00:01:39.400
 in the kernel ring buffer, which

29
00:01:39.400 --> 00:01:42.600
 looks something like this and you can

30
00:01:42.600 --> 00:01:44.100
 see the output over here.

31
00:01:45.200 --> 00:01:45.500
now

32
00:01:46.500 --> 00:01:49.800
the second command is cat space.

33
00:01:51.500 --> 00:01:51.900
Rock

34
00:01:52.800 --> 00:01:55.500
space CPU info now,

35
00:01:55.500 --> 00:01:58.600
 you must have guessed it right this command

36
00:01:58.600 --> 00:02:01.600
 is used to display and

37
00:02:01.600 --> 00:02:04.200
 know the CPU information as you

38
00:02:04.200 --> 00:02:07.500
 can see over here the processor the vendor ID

39
00:02:07.500 --> 00:02:10.900
 the CPU family model the

40
00:02:10.900 --> 00:02:13.300
 CPU megahertz Kesh eyes,

41
00:02:13.100 --> 00:02:16.800
 etc. Etc. So this is the information

42
00:02:16.800 --> 00:02:19.300
 about the CPU, which says

43
00:02:19.300 --> 00:02:22.200
 Intel Core i7 9th. Gen

44
00:02:22.200 --> 00:02:25.800
 CPU at 2.6 gigahertz CPU perfect

45
00:02:25.800 --> 00:02:28.700
 now similar to the CPU information,

46
00:02:28.700 --> 00:02:31.700
 let us understand the memory information,

47
00:02:31.700 --> 00:02:34.200
 which is the ramen formation for that

48
00:02:34.200 --> 00:02:38.000
 instead of CPU. You simply have to type mem. It

49
00:02:37.100 --> 00:02:38.800
 stands for memory.

50
00:02:39.700 --> 00:02:42.400
And hit enter and here you

51
00:02:42.400 --> 00:02:45.700
 can see the memory which has been allocated to

52
00:02:45.700 --> 00:02:48.200
 this CPU and you can

53
00:02:48.200 --> 00:02:51.100
 see these are all the details of the memory.

54
00:02:51.900 --> 00:02:54.500
And you can see the memory total the

55
00:02:54.500 --> 00:02:58.600
 memory free the memory which is available, etc.

56
00:02:58.000 --> 00:02:59.100
 Etc.

57
00:03:00.200 --> 00:03:04.200
Perfect. Let's move forward and now we

58
00:03:03.200 --> 00:03:07.300
 are going to see the command which is free space hyphen

59
00:03:06.300 --> 00:03:10.000
 H. Now this displace

60
00:03:09.400 --> 00:03:13.100
 the free and used memory hyphen

61
00:03:12.100 --> 00:03:16.000
 H stands for human readable format

62
00:03:15.900 --> 00:03:18.400
 - M that we

63
00:03:18.400 --> 00:03:21.300
 are going to see currently stands for to see

64
00:03:21.300 --> 00:03:24.300
 the output in MB and hyphen G stands

65
00:03:24.300 --> 00:03:27.300
 for to see the output in GB. So let

66
00:03:27.300 --> 00:03:30.900
 me just simply first type h and hit enter and you

67
00:03:30.900 --> 00:03:33.400
 can see the total memory which has been assigned is

68
00:03:33.400 --> 00:03:36.100
 2.9 GB. How much is

69
00:03:36.100 --> 00:03:38.900
 used? How much is free Etc?

70
00:03:39.900 --> 00:03:42.600
And you can see the output in GB if

71
00:03:42.600 --> 00:03:45.200
 I type - M you will be able to see

72
00:03:45.200 --> 00:03:48.100
 the output in MBS.

73
00:03:48.500 --> 00:03:51.600
I hope this is clear. Now. Let's move

74
00:03:51.600 --> 00:03:54.400
 forward now. We are going to see the command to

75
00:03:54.400 --> 00:03:57.700
 display the PCI devices if connected.

76
00:03:58.900 --> 00:04:01.700
For that you have to type LS PCI.

77
00:04:03.400 --> 00:04:03.600
and

78
00:04:05.200 --> 00:04:09.100
space hyphen TV and you can see if any

79
00:04:08.100 --> 00:04:11.500
 devices that are being connected to

80
00:04:11.500 --> 00:04:14.800
 my operating system and you can see there are

81
00:04:14.800 --> 00:04:17.600
 few network adapters, which

82
00:04:17.600 --> 00:04:20.700
 have been connected as you can see the network

83
00:04:20.700 --> 00:04:24.100
 controller the USB controller the

84
00:04:23.100 --> 00:04:27.400
 VMware virtual machine communication interface,

85
00:04:26.400 --> 00:04:29.100
 which has been connected Etc.

86
00:04:29.100 --> 00:04:32.400
 Now if you want to see the USB devices that

87
00:04:32.400 --> 00:04:35.200
 have been connected for that. Do you simply has to type

88
00:04:35.200 --> 00:04:37.100
 LS USB?

89
00:04:38.800 --> 00:04:41.200
USB space hyphen TV.

90
00:04:41.200 --> 00:04:44.700
 And if any USB devices if connected you

91
00:04:44.700 --> 00:04:47.600
 will be able to see over here now. I

92
00:04:47.600 --> 00:04:50.400
 have not connected any external device. You can simply

93
00:04:50.400 --> 00:04:53.100
 connect a external device and you will be able to

94
00:04:53.100 --> 00:04:55.600
 see the external device over here.

95
00:04:57.300 --> 00:05:00.100
Perfect. Now moving forward if you want to

96
00:05:00.100 --> 00:05:04.300
 display the DMI or SMB iOS

97
00:05:03.300 --> 00:05:07.100
 Hardware information from the BIOS that

98
00:05:06.100 --> 00:05:09.400
 also can be seen using the command

99
00:05:09.400 --> 00:05:13.000
 which is DM ID code and

100
00:05:12.300 --> 00:05:15.900
 hit enter and you can see the BIOS

101
00:05:15.900 --> 00:05:16.900
 information over here.

102
00:05:17.800 --> 00:05:20.400
Perfect. Now if you want to see the

103
00:05:20.400 --> 00:05:24.000
 disk usage, you can simply type du and you

104
00:05:23.400 --> 00:05:26.400
 will be able to see the disk usage by

105
00:05:26.400 --> 00:05:29.400
 each file in case you want a cleaner

106
00:05:29.400 --> 00:05:32.600
 output. You can simply type DF and you

107
00:05:32.600 --> 00:05:35.600
 will be able to see the disk usage of

108
00:05:35.600 --> 00:05:38.800
 the file system of each disk that

109
00:05:38.800 --> 00:05:41.700
 has been attached here. You can see Slash tab

110
00:05:41.700 --> 00:05:44.400
 slash sga1 which is being used

111
00:05:44.400 --> 00:05:47.500
 25% which is also mounted on

112
00:05:47.500 --> 00:05:50.400
 slash boot, which we are currently using.

113
00:05:51.400 --> 00:05:54.600
So this is how you can get the system

114
00:05:54.600 --> 00:05:57.600
 information about the operating system

115
00:05:57.600 --> 00:06:01.300
 that you are using as well as the hardware information. I

116
00:06:00.300 --> 00:06:03.500
 hope you guys understood and in case

117
00:06:03.500 --> 00:06:06.300
 you have any issues, feel free to ask into the

118
00:06:06.300 --> 00:06:07.600
 Q&A section. Thank you.
