1
00:00:04,330 --> 00:00:10,360
I have just explained to you that we could work with different shells using graphical user interface

2
00:00:10,390 --> 00:00:12,340
applications, gold terminals.

3
00:00:13,030 --> 00:00:16,540
And this my computer I am using I term to application.

4
00:00:16,810 --> 00:00:22,370
And in those different tabs, I am connected to do different schell's of links computer.

5
00:00:22,810 --> 00:00:23,960
Here was Basho.

6
00:00:24,040 --> 00:00:25,570
And here with CHL.

7
00:00:26,020 --> 00:00:32,200
And now in this lecture, let me show you how you're able to get information about specific shell that

8
00:00:32,200 --> 00:00:33,370
is currently being used.

9
00:00:33,790 --> 00:00:38,990
And next hour, I'll show you some additional comments that will give you some information about Lenos

10
00:00:39,040 --> 00:00:40,810
computer that you are currently in.

11
00:00:41,410 --> 00:00:46,480
So if you're anti-government, aircon, dollar sign, shell and press enter.

12
00:00:46,750 --> 00:00:48,430
You'll get following response.

13
00:00:48,820 --> 00:00:50,870
In my case, I'm running now.

14
00:00:50,920 --> 00:00:51,820
Buy a shell.

15
00:00:52,060 --> 00:00:57,180
I am connected now to bash shell process inside of the wounded Lenos computer.

16
00:00:58,390 --> 00:00:59,110
And what is being.

17
00:00:59,200 --> 00:01:00,580
I'll explain you a bit later.

18
00:01:01,120 --> 00:01:04,400
Let me answer the same command in another step where I have started.

19
00:01:04,510 --> 00:01:08,350
See each shell echo dollar a sign shell.

20
00:01:09,610 --> 00:01:10,540
I got for some reason.

21
00:01:10,570 --> 00:01:11,460
Empty output.

22
00:01:11,830 --> 00:01:14,580
Let me try alternative comment, echo dollar sign.

23
00:01:14,890 --> 00:01:15,400
Zero.

24
00:01:15,940 --> 00:01:17,110
And now I get response.

25
00:01:17,200 --> 00:01:17,830
C, h.

26
00:01:18,280 --> 00:01:20,490
And that means that now I'm running.

27
00:01:20,740 --> 00:01:21,370
C, h.

28
00:01:21,400 --> 00:01:23,530
Shell in this terminal window.

29
00:01:24,160 --> 00:01:28,810
And please note is that there is already a difference between interpretation of the same comment.

30
00:01:29,130 --> 00:01:32,310
Ecuador sign shell here in this C.H. Shell.

31
00:01:32,560 --> 00:01:39,090
And here in this Bestival here, we even don't get the result or result wasn't correctly recognized.

32
00:01:39,550 --> 00:01:40,830
All right, let's brosset.

33
00:01:40,900 --> 00:01:46,180
And no, let me enter some additional commands that you are able to use in order to get information

34
00:01:46,270 --> 00:01:47,950
about specific Limas computer.

35
00:01:48,160 --> 00:01:50,450
You are currently in the command.

36
00:01:50,530 --> 00:01:51,520
Is your name.

37
00:01:52,730 --> 00:01:56,290
And if I will simply type your name, I get the answer links.

38
00:01:56,900 --> 00:02:00,110
There are additional options you are able to use with this comment.

39
00:02:00,380 --> 00:02:02,240
For example, you name Dash eight.

40
00:02:03,050 --> 00:02:08,900
With this comment, you're able to get additional information about Linux computer like Hostname and

41
00:02:08,900 --> 00:02:09,370
Brossel.

42
00:02:09,860 --> 00:02:11,870
Also, you're able to use Özer option.

43
00:02:12,080 --> 00:02:13,910
This ah was this option.

44
00:02:14,000 --> 00:02:16,210
You'll get information about Linux Kandel.

45
00:02:16,550 --> 00:02:19,900
It is a version for nineteen seventy six Linux.

46
00:02:19,910 --> 00:02:24,080
Keep in your case you could get an also version of course on another computer.

47
00:02:24,560 --> 00:02:26,810
Let me quickly switch to a winter computer.

48
00:02:26,840 --> 00:02:30,530
It is basically your little machine that is running on my macros computer.

49
00:02:30,920 --> 00:02:32,780
And let me open up terminal here.

50
00:02:33,170 --> 00:02:40,730
And first let me use echo comment echo Dola a sign shell in order to verify which Shell is being used

51
00:02:40,790 --> 00:02:41,330
right now.

52
00:02:41,840 --> 00:02:45,230
And here I see the same result as here instead of the container.

53
00:02:45,470 --> 00:02:49,310
It means that here I am also connected to Bash Shell.

54
00:02:49,940 --> 00:02:52,170
And next, let me enter your name.

55
00:02:52,360 --> 00:02:59,210
There's a I see that I'm using Linux Lubutu here with my Russian and you could get the kernel version

56
00:02:59,270 --> 00:03:00,500
using separate option.

57
00:03:00,680 --> 00:03:01,450
You name this.

58
00:03:01,590 --> 00:03:01,810
Ah.

59
00:03:02,060 --> 00:03:05,060
And actually you get the same result as is included here in this.

60
00:03:06,080 --> 00:03:12,500
And of course version of this kernel differs from version of the kernel here inside of this Linux container.

61
00:03:13,490 --> 00:03:13,880
All right.

62
00:03:14,180 --> 00:03:19,820
That's how you're able to get the version about specific software installed on specific Linux computer.

63
00:03:20,390 --> 00:03:22,600
Next, let me enter, for example, uptime.

64
00:03:22,640 --> 00:03:23,000
Come on.

65
00:03:23,280 --> 00:03:28,580
And here this output, you'll see current time and total uptime of this.

66
00:03:29,510 --> 00:03:32,570
Also, you'll see quantity of columns locked in users.

67
00:03:32,840 --> 00:03:35,150
But we are actually locked in as a router user.

68
00:03:35,360 --> 00:03:39,020
And this router connection is not counted as user connection.

69
00:03:39,050 --> 00:03:40,910
That's why here I see zero users.

70
00:03:41,300 --> 00:03:46,490
And also you see here what average of this server at the moment there was a lot.

71
00:03:46,550 --> 00:03:48,440
And that's why here you see all zeros.

72
00:03:48,860 --> 00:03:49,190
Great.

73
00:03:49,430 --> 00:03:53,430
Let me also enter additional options here with uptime command.

74
00:03:53,540 --> 00:03:56,450
And this option is Desh Pete Freedom.

75
00:03:56,900 --> 00:03:59,090
And it will preprint this result.

76
00:03:59,150 --> 00:04:03,290
And I see that uptime of the Celera is a 21 hours.

77
00:04:03,380 --> 00:04:04,790
Forty one minutes.

78
00:04:05,630 --> 00:04:05,930
Great.

79
00:04:06,170 --> 00:04:09,830
But you may ask me a question why this time is so huge.

80
00:04:10,070 --> 00:04:12,450
We have just started this container.

81
00:04:12,800 --> 00:04:20,000
That means that before this container was actually stored as a snapshot in the image and before this

82
00:04:20,000 --> 00:04:22,610
container was running on some ares our computer.

83
00:04:22,850 --> 00:04:25,490
This way here you see such large uptime.

84
00:04:26,210 --> 00:04:31,410
Let me switch to another computer here and type the same command uptime DSP.

85
00:04:32,060 --> 00:04:35,870
I get that uptime of this Yodle machine is twelve hours.

86
00:04:36,150 --> 00:04:36,480
Great.

87
00:04:36,830 --> 00:04:37,650
That is next command.

88
00:04:37,710 --> 00:04:39,440
You're able to use next one.

89
00:04:39,500 --> 00:04:40,880
Let me quickly clear terminal.

90
00:04:41,150 --> 00:04:43,250
And for that you could use a combination.

91
00:04:43,370 --> 00:04:46,700
Come on team or control it on windows or type.

92
00:04:46,760 --> 00:04:47,720
Clear command.

93
00:04:48,260 --> 00:04:49,970
And it will clear output like this.

94
00:04:50,450 --> 00:04:57,320
Let's enter our command w this command shows which users are currently locked in to Linux.

95
00:04:57,420 --> 00:05:00,230
Sarah, let me enter a same command here.

96
00:05:00,470 --> 00:05:06,680
W and I see that user with user name Mogadon is currently locked in to this computer.

97
00:05:07,550 --> 00:05:07,940
All right.

98
00:05:08,230 --> 00:05:11,560
This is how you're able to get basic information about the computer.

99
00:05:11,700 --> 00:05:12,920
You are currently in.

100
00:05:13,550 --> 00:05:13,910
Next.

101
00:05:13,940 --> 00:05:22,100
Let me explain why we are actually able to enter such commands as Alas, c.D, and so on, and how Shell

102
00:05:22,250 --> 00:05:26,720
actually understands that specific sequence of characters is actually out.

103
00:05:27,410 --> 00:05:29,120
Let me explain that in the next lecture.

104
00:05:29,300 --> 00:05:29,980
I'll see you now.

105
00:05:30,100 --> 00:05:30,370
Bye bye.

