WEBVTT - This file was automatically generated by VIMEO

0
00:00:14.700 --> 00:00:17.700
Hello everyone and welcome to this video in this

1
00:00:17.700 --> 00:00:20.600
 video. We are going to run some of

2
00:00:20.600 --> 00:00:23.300
 the important Linux commands that have been

3
00:00:23.300 --> 00:00:25.000
 used into our day-to-day lives.

4
00:00:25.800 --> 00:00:28.900
So to begin with we are going to run some

5
00:00:28.900 --> 00:00:31.400
 of the system information Linux commands

6
00:00:31.400 --> 00:00:34.300
 that are used and you should know

7
00:00:34.300 --> 00:00:34.500
 them.

8
00:00:35.800 --> 00:00:38.100
So to begin with you have to start your

9
00:00:38.100 --> 00:00:41.500
 terminal. So this is what is called as a terminal.

10
00:00:42.100 --> 00:00:45.900
So I have started my parrot OS which is based on Debian Flavor.

11
00:00:45.900 --> 00:00:48.200
 Now, this is again a very

12
00:00:48.200 --> 00:00:52.300
 famous operating system, which is used for penetration testing.

13
00:00:53.100 --> 00:00:56.200
Now to start your terminal you just have to click over here

14
00:00:56.200 --> 00:00:56.800
 as you can see.

15
00:00:57.900 --> 00:01:00.100
It will open up a terminal for you.

16
00:01:01.100 --> 00:01:04.300
I have already opened our terminal and now I'm

17
00:01:04.300 --> 00:01:08.100
 going to execute some of the system information commands.

18
00:01:08.900 --> 00:01:11.300
So to start with we're going to see a

19
00:01:11.300 --> 00:01:14.600
 command, which is you name. So let me just type you name

20
00:01:14.600 --> 00:01:17.600
 and hit enter. It says the name

21
00:01:17.600 --> 00:01:20.900
 of the operating system, which is Linux. Now

22
00:01:20.900 --> 00:01:24.100
 if type the command you name space hyphen

23
00:01:23.100 --> 00:01:26.100
 a it will show you

24
00:01:26.100 --> 00:01:30.200
 output similar to this. Now. It

25
00:01:29.200 --> 00:01:32.900
 displays the Linux system information as

26
00:01:32.900 --> 00:01:35.700
 you can see it is showing as Linux

27
00:01:37.800 --> 00:01:41.300
Debian flavor paste Paradise version 5.2.0.

28
00:01:40.300 --> 00:01:44.200
 Parrot 1 AMD 64

29
00:01:43.200 --> 00:01:46.600
 SMB Debian, etc,

30
00:01:46.000 --> 00:01:47.100
 etc.

31
00:01:48.100 --> 00:01:51.700
Now you want to see which version is installed. You

32
00:01:51.700 --> 00:01:54.700
 can type cat space slash

33
00:01:54.700 --> 00:01:57.200
 proc slash version.

34
00:01:57.900 --> 00:02:00.900
And hit enter and you can see Linux version

35
00:02:00.900 --> 00:02:04.100
 5.2.0 -2

36
00:02:03.100 --> 00:02:07.000
 parrot AMD 64 similar kind

37
00:02:07.100 --> 00:02:08.800
 of output where you can see.

38
00:02:09.700 --> 00:02:13.700
That Debian 8.3.0 -

39
00:02:13.700 --> 00:02:17.500
 6 is installed into this computer. Similarly.

40
00:02:16.500 --> 00:02:19.200
 If you are on red hat

41
00:02:19.200 --> 00:02:23.900
 based operating systems. You can simply type cat space.

42
00:02:24.900 --> 00:02:27.600
slash Etc / red hat

43
00:02:29.200 --> 00:02:32.600
- release and hit enter now. This

44
00:02:32.600 --> 00:02:35.900
 is not a red hat based operating system. That's why

45
00:02:35.900 --> 00:02:38.800
 it is saying no such file or directory.

46
00:02:39.900 --> 00:02:40.500
Let's move on.

47
00:02:41.500 --> 00:02:44.300
And we are going to type the next command which is up time

48
00:02:44.300 --> 00:02:47.800
 and hit enter. Now this command shows

49
00:02:47.800 --> 00:02:51.900
 you how long the system has been running as

50
00:02:50.900 --> 00:02:54.300
 you can see, it shows that

51
00:02:54.300 --> 00:02:57.700
 it has been up 28 minutes one user.

52
00:02:57.700 --> 00:03:00.600
 Is there and this is the average load on

53
00:03:00.600 --> 00:03:01.900
 the operating system.

54
00:03:02.900 --> 00:03:05.500
Now if you want to see the system

55
00:03:05.500 --> 00:03:08.300
 hostname or sometimes also known as

56
00:03:08.300 --> 00:03:11.500
 the machine name. We are going to use the command which

57
00:03:11.500 --> 00:03:14.600
 is simply host name and it

58
00:03:14.600 --> 00:03:17.500
 shows you the hostname of the machine

59
00:03:17.500 --> 00:03:20.600
 is parrot, which can also be seen

60
00:03:20.600 --> 00:03:23.000
 from here. Now. This is something which is

61
00:03:23.900 --> 00:03:26.100
 username at the rate host name. So the

62
00:03:26.100 --> 00:03:29.700
 username is root if you want to verify that just simply

63
00:03:29.700 --> 00:03:32.100
 type who am I and it will show you

64
00:03:32.100 --> 00:03:35.500
 the current logged in user of this computer.

65
00:03:37.500 --> 00:03:40.300
Alright, the next command is hostname space

66
00:03:40.300 --> 00:03:43.700
 hyphen. I when you do this, you will

67
00:03:43.700 --> 00:03:46.400
 be able to see the local IP address of

68
00:03:46.400 --> 00:03:49.200
 the host that you are

69
00:03:49.200 --> 00:03:53.000
 currently logged in into and you can see this is the local IP

70
00:03:52.100 --> 00:03:54.300
 address of this host.

71
00:03:55.400 --> 00:03:58.100
Now the next command is that you

72
00:03:58.100 --> 00:04:01.700
 can see is last space reboot.

73
00:04:02.400 --> 00:04:06.400
Now this is going to show you the system

74
00:04:05.400 --> 00:04:08.900
 reboot history when

75
00:04:08.900 --> 00:04:11.500
 when the computer has been restarted.

76
00:04:12.300 --> 00:04:15.600
Now, this is Handy and helpful sometimes to

77
00:04:15.600 --> 00:04:18.800
 know whenever there was a system reboot

78
00:04:18.800 --> 00:04:20.100
 done for your computer.

79
00:04:21.200 --> 00:04:24.600
Next is very simple. You can use date command

80
00:04:24.600 --> 00:04:27.100
 to know the current date as well as

81
00:04:27.100 --> 00:04:31.000
 time of your computer as you can see Friday Feb

82
00:04:30.600 --> 00:04:33.700
 26. This is the time which is

83
00:04:33.700 --> 00:04:36.100
 ist2021, which is

84
00:04:36.100 --> 00:04:39.100
 the year now in case you want to

85
00:04:39.100 --> 00:04:42.600
 see the calendar you can do that as well. Simply you

86
00:04:42.600 --> 00:04:45.200
 have to type the command which is c a l

87
00:04:45.200 --> 00:04:48.700
 and hit enter and you will be able to see the calendar

88
00:04:48.700 --> 00:04:50.800
 from your terminal.

89
00:04:51.400 --> 00:04:54.100
Next is the command which is

90
00:04:54.100 --> 00:04:57.800
 simply W hit enter and you

91
00:04:57.800 --> 00:05:00.800
 will be able to see which user is online

92
00:05:00.800 --> 00:05:03.500
 currently and you can see the user which

93
00:05:03.500 --> 00:05:06.200
 is root is currently logged in

94
00:05:06.200 --> 00:05:07.400
 and online.

95
00:05:08.300 --> 00:05:11.400
You already seen the command. Who am I to know which is

96
00:05:11.400 --> 00:05:14.400
 the current user which has been logged in into your

97
00:05:14.400 --> 00:05:17.400
 computer and you can see the root user is

98
00:05:17.400 --> 00:05:20.300
 currently logged in and using the terminal.

99
00:05:21.100 --> 00:05:24.500
So this is it for this video? I hope you guys understood the

100
00:05:24.500 --> 00:05:27.500
 basic Linux command that can be used to

101
00:05:27.500 --> 00:05:30.600
 identify the system information of

102
00:05:30.600 --> 00:05:33.500
 your operating system in upcoming lessons.

103
00:05:33.500 --> 00:05:36.900
 We are going to see more commands for each specific.

104
00:05:38.400 --> 00:05:42.100
Task that we are going to perform. So I hope you guys understood in

105
00:05:41.100 --> 00:05:44.500
 case you feel any issues into this commands.

106
00:05:44.500 --> 00:05:47.300
 Feel free to ask your questions or queries.

107
00:05:47.300 --> 00:05:47.900
 Thank you.
