1
00:00:00,550 --> 00:00:01,330
Welcome back.

2
00:00:01,330 --> 00:00:03,280
Let's continue with our next option.

3
00:00:03,820 --> 00:00:09,400
So if you scroll all the way down to our help command we noticed that we already have different function.

4
00:00:09,400 --> 00:00:11,740
Now let's add the clear function.

5
00:00:11,740 --> 00:00:13,330
This is rather easy to do.

6
00:00:13,330 --> 00:00:22,210
All we are left to do is go to our server first and import the OS library the OS library allows us to

7
00:00:22,240 --> 00:00:26,920
execute the commands that we can execute regularly inside of a terminal.

8
00:00:26,950 --> 00:00:33,650
So let's go all the way down and add another LC statement right here.

9
00:00:33,770 --> 00:00:41,560
Else if the command is equal or equal equal let's not forget it once again to clear then what we can

10
00:00:41,560 --> 00:00:51,400
do is we can run OS that system and execute the command inside of the brackets which we want to be clear

11
00:00:53,140 --> 00:00:58,180
since if you open up terminal and you type some gibberish and you type clear it will create the screen

12
00:00:58,180 --> 00:00:58,810
for you.

13
00:00:58,810 --> 00:01:05,650
We want to do the same inside of our server but let's not forget to add the option inside of our backdoor

14
00:01:05,660 --> 00:01:06,550
as well.

15
00:01:06,590 --> 00:01:11,630
Otherwise it will try to execute it inside of our backdoor and we don't really want that.

16
00:01:11,690 --> 00:01:21,130
So let's add an option right here elusive command equals equals two clear inside of our backdoor all

17
00:01:21,130 --> 00:01:23,140
we want to do is we want to pass.

18
00:01:23,170 --> 00:01:27,260
So we don't want to do anything we don't want to execute anything or print anything.

19
00:01:27,370 --> 00:01:33,250
We simply just want to return to the beginning of the world True loop and receive for the next comment.

20
00:01:33,340 --> 00:01:34,860
Let's see whether this works.

21
00:01:35,020 --> 00:01:40,550
We open up the terminal type server then run the backdoor

22
00:01:43,380 --> 00:01:49,160
let's execute I have config and if I type clear right after it it will clear the screen for me.

23
00:01:49,170 --> 00:01:50,460
So it works correctly.

24
00:01:50,460 --> 00:01:56,100
Let's quit the program and in the next video we're ready to go on with the next command which in our

25
00:01:56,100 --> 00:01:58,650
case will be to change directories.

26
00:01:58,650 --> 00:01:59,000
OK.

27
00:01:59,610 --> 00:02:01,880
So this was one of the easiest options to implement.

28
00:02:01,890 --> 00:02:09,110
Therefore this video will be this short and in the next one as it said we're going to go to the CB command.

29
00:02:09,120 --> 00:02:10,620
All right see you there.

30
00:02:10,700 --> 00:02:10,980
By.
