1 00:00:00,670 --> 00:00:06,910 Now it's time to talk about something very important, which is the alias, what actually the alias? 2 00:00:07,270 --> 00:00:08,080 It is something. 3 00:00:08,110 --> 00:00:09,990 So if I can if I type a.. 4 00:00:10,150 --> 00:00:14,190 Or an alias, you can see it doesn't have any entry. 5 00:00:14,200 --> 00:00:20,080 But if I type an alias here, you can see that it is to define or display aliases. 6 00:00:20,470 --> 00:00:26,170 Alias It is used to create another alias name for a kumite. 7 00:00:26,290 --> 00:00:27,790 And this is something we already mentioned. 8 00:00:28,030 --> 00:00:37,240 When we type the shell is the same as you can see that as the shell, which is the same as I'm sorry 9 00:00:38,020 --> 00:00:38,730 as dashingly. 10 00:00:38,770 --> 00:00:41,890 So let's clear the scheme first and then I want to show you just. 11 00:00:42,220 --> 00:00:42,490 Yeah. 12 00:00:42,500 --> 00:00:48,930 Unless there's an error which is the same night and OK, this will bring everything in a new format. 13 00:00:48,940 --> 00:00:50,740 OK, with some differences. 14 00:00:50,740 --> 00:00:56,860 You can see you can notice that here is a Slash's, but here we don't have slashers and we're no big 15 00:00:56,860 --> 00:00:57,130 deal. 16 00:00:58,160 --> 00:00:59,870 So how to create it? 17 00:00:59,910 --> 00:01:03,960 Yes, so for example, I want to clear the screen, I don't need to make that clear. 18 00:01:03,980 --> 00:01:05,380 Each time, each time clear. 19 00:01:05,560 --> 00:01:07,300 This doesn't make sense how to do that. 20 00:01:07,340 --> 00:01:08,630 Actually, I will use it. 21 00:01:08,870 --> 00:01:09,800 I will use it. 22 00:01:10,190 --> 00:01:11,840 Which is areas like this. 23 00:01:11,840 --> 00:01:12,690 As simple as that. 24 00:01:13,070 --> 00:01:18,770 The name of the artist, which is see in my case, equal, and then provide the butt with a single quotation 25 00:01:18,770 --> 00:01:19,370 inside it. 26 00:01:19,610 --> 00:01:20,660 So clear. 27 00:01:20,930 --> 00:01:25,650 So the command clear will be considered or else just to see let up. 28 00:01:25,670 --> 00:01:29,000 So if I tap into and if I see it will work. 29 00:01:29,040 --> 00:01:35,380 Oh so if I type and whatever else I want to clear the screen I will do a will use. 30 00:01:35,450 --> 00:01:36,110 Just see. 31 00:01:36,530 --> 00:01:38,010 Oh so fantastic. 32 00:01:38,150 --> 00:01:44,930 No, but the thing is if I open another shell so for example I am inside this shell as you can see if 33 00:01:44,930 --> 00:01:51,440 I open another ship, for example, Basche if I type C this time you can see C command not found because 34 00:01:51,440 --> 00:01:53,090 we didn't put it as an alias. 35 00:01:53,270 --> 00:01:56,960 So how to do such a thing without losing that? 36 00:01:57,650 --> 00:02:05,540 Because after we open a new shell and use shell session, everything will be removed and a specific 37 00:02:05,540 --> 00:02:08,150 things will be exported from specific fights. 38 00:02:08,390 --> 00:02:10,010 Don't worry, we will talk about them right away. 39 00:02:10,360 --> 00:02:11,800 OK, so how to do such a thing? 40 00:02:13,000 --> 00:02:17,080 Well, controlled or exit to Kuwait from the first ship. 41 00:02:17,260 --> 00:02:23,620 By the way, if I type equal as a vehicle, you can see that this is the shell level. 42 00:02:23,710 --> 00:02:27,230 This is an environment variable and used to break the shell limits. 43 00:02:27,430 --> 00:02:31,180 So one, as you can see it, is to see if I open another shell. 44 00:02:31,510 --> 00:02:36,480 So if I echo the shell level again, you can see that it is to this time. 45 00:02:36,490 --> 00:02:42,630 So which means that we have to shell Levon's, which means I am opening a shell inside the machine. 46 00:02:42,910 --> 00:02:43,330 OK. 47 00:02:43,800 --> 00:02:44,120 All right. 48 00:02:44,260 --> 00:02:46,270 Let's control or quit or exit. 49 00:02:46,270 --> 00:02:48,460 I mean, let's clear the screen first. 50 00:02:48,490 --> 00:02:52,650 So if I see here this time, it will work because this is the original one. 51 00:02:53,050 --> 00:02:54,430 So how to do such a thing? 52 00:02:54,670 --> 00:03:01,780 Now, actually, if you notice and especially we have something called this profile or that Bashar Sea. 53 00:03:02,170 --> 00:03:07,810 And by the way, the difference between the profile and the Basmati, this is used for the specific 54 00:03:07,810 --> 00:03:11,820 user, which is open to, as you can see, any user on the next. 55 00:03:11,980 --> 00:03:16,240 It has the following either profile or the RC or the two of them. 56 00:03:16,450 --> 00:03:23,770 OK, this is actually used to tell what are the commands or or stuff we will do when we open the shell 57 00:03:23,950 --> 00:03:25,130 on a specific behavior. 58 00:03:25,360 --> 00:03:30,250 So for the profile, this is used for the logging of it or the location. 59 00:03:30,490 --> 00:03:34,580 But this is but the Benghazi, this is used for the interactive behaviours. 60 00:03:34,780 --> 00:03:38,950 Actually, if I did provide here, you can see that we have a lot of information. 61 00:03:38,950 --> 00:03:43,340 So you can see and it's probably executed by the command interpreter for login chills. 62 00:03:43,360 --> 00:03:47,410 As you can see, Logan Shield and the fight is not read by Dash here. 63 00:03:47,980 --> 00:03:53,190 And you can see if that bad batch profile or the special looking exist. 64 00:03:53,470 --> 00:03:58,390 The file are located in the Benghazi package and you can see that you mask whatever, blah, blah, 65 00:03:58,390 --> 00:04:01,420 blah, and you can see the default by which is the ATC profile. 66 00:04:01,630 --> 00:04:04,190 This is not just for the current user, which is open to. 67 00:04:04,600 --> 00:04:06,450 No, this is for the whole system. 68 00:04:06,820 --> 00:04:09,850 By the way, I'm just giving you a brief about it. 69 00:04:10,100 --> 00:04:14,020 You can read more about it, actually, so that Benghazi, on the other hand. 70 00:04:14,020 --> 00:04:14,430 No. 71 00:04:16,100 --> 00:04:23,680 So RC like this, you can see that if I have a look here now, you can see that Benghazi is executed 72 00:04:23,680 --> 00:04:26,420 by Besch for nine million children, OK? 73 00:04:26,620 --> 00:04:33,590 Therefore, not for locations, which means through a search party for Logan, which means interactive. 74 00:04:34,810 --> 00:04:41,670 Now, let's the Benghazi actually, in my case, what we saw, which is using that the best, the best, 75 00:04:41,860 --> 00:04:44,200 we want the Alia's to be existed. 76 00:04:44,890 --> 00:04:46,120 We don't need it to be removed. 77 00:04:46,120 --> 00:04:53,530 So from here, just inside this fight, by the way, when we open a shell or any when we when we type 78 00:04:53,530 --> 00:04:59,110 the best command, it will all of that or everything here will be executed. 79 00:04:59,410 --> 00:05:02,830 So which means that I need to provide the ADC. 80 00:05:02,980 --> 00:05:08,700 So, yes, as simple as that, equal the single quotation and then. 81 00:05:08,950 --> 00:05:09,290 But. 82 00:05:10,690 --> 00:05:16,330 So this means that every time we open the best command or the best command center, which means open 83 00:05:16,330 --> 00:05:22,690 a new special and by the way, we already saw it, is this considered to be nine locations? 84 00:05:23,080 --> 00:05:25,680 So this time, which means C would be there. 85 00:05:25,840 --> 00:05:36,400 So if I save it for now and let's open back this time, by the way, you saw before I go see it, it's 86 00:05:36,400 --> 00:05:36,870 not fun. 87 00:05:36,940 --> 00:05:44,190 So if I would bash and Brissie, you can see C is working correctly. 88 00:05:44,200 --> 00:05:45,010 One hundred percent. 89 00:05:45,340 --> 00:05:47,260 Right again. 90 00:05:47,530 --> 00:05:49,240 So let's exit from that. 91 00:05:49,690 --> 00:05:52,150 Lets them that the AC again. 92 00:05:54,180 --> 00:06:00,860 Let's copy that, actually, and I just want to it and I just want to show you for looking at this time, 93 00:06:01,530 --> 00:06:07,320 this was the behavior for the shells, which means opening the bash, using the thiamine like this, 94 00:06:07,650 --> 00:06:13,680 but for the inches, sorry for the locations, it will be like this that provide. 95 00:06:14,730 --> 00:06:22,050 Again, with the command here, be careful, don't put it inside if or else or if you are using some 96 00:06:22,050 --> 00:06:24,010 filtering or whatever, put it inside. 97 00:06:24,030 --> 00:06:25,950 In that case, inside it for whatever. 98 00:06:26,340 --> 00:06:28,770 OK, now you see equally clear. 99 00:06:28,800 --> 00:06:30,120 So let's save it. 100 00:06:30,580 --> 00:06:31,260 All right. 101 00:06:32,160 --> 00:06:38,820 Now, I want to quote from that actually and from that so you can see that currently I am on my machine, 102 00:06:38,970 --> 00:06:41,070 which is the Mac operating system. 103 00:06:41,670 --> 00:06:49,710 Now, if I have accurate by the way, I have this alias and if I type this alias Mavor. 104 00:06:51,050 --> 00:06:56,450 You can see that I have it like this, I want to add something, and this is the key I am using. 105 00:06:56,480 --> 00:06:59,490 All right, so let's use this alias, whatever. 106 00:06:59,840 --> 00:07:04,620 By the way, this is the same as this as this command, which is a search into the system. 107 00:07:04,760 --> 00:07:05,370 Nobody. 108 00:07:05,430 --> 00:07:07,330 OK, please don't get confused, OK? 109 00:07:07,850 --> 00:07:12,020 I'm just using this alias on my local Mac operating system, OK? 110 00:07:12,440 --> 00:07:16,250 Currently I am inside this server with this IP address. 111 00:07:16,280 --> 00:07:21,950 OK, let's clear the screen or I actually I don't need to clear the screen using the clear command. 112 00:07:22,130 --> 00:07:25,550 I need it using the Sillitoe to see if it is working or not. 113 00:07:25,970 --> 00:07:28,600 Yeah, everything is working as expected. 114 00:07:28,880 --> 00:07:34,850 So if I open the best RC or dispatch RC, you can see that the alias is not here. 115 00:07:35,100 --> 00:07:35,570 It's good. 116 00:07:35,600 --> 00:07:41,930 And now if I open the door to provide, you can see the alasia it is here, which means that this is 117 00:07:42,290 --> 00:07:43,670 for the login since. 118 00:07:43,720 --> 00:07:47,930 OK, so hope you don't actually hope you didn't get confused. 119 00:07:48,140 --> 00:07:51,740 Please, if you have any question or if you get confused you can ask me. 120 00:07:51,920 --> 00:07:52,490 No problem. 121 00:07:52,990 --> 00:07:53,780 Thanks for watching.