1 00:00:00,660 --> 00:00:06,000 We were discussing about the environment where it was, so this environment where we saw some special 2 00:00:06,000 --> 00:00:12,060 variables, which holds some important data whenever you go to the next session, is on this environment 3 00:00:12,060 --> 00:00:13,770 where was will be loaded. 4 00:00:14,070 --> 00:00:20,280 And the information in those words can be used to access this environment or environment where they 5 00:00:20,310 --> 00:00:21,270 need to take the comment. 6 00:00:21,300 --> 00:00:25,520 And so and we and we commend the resources. 7 00:00:25,570 --> 00:00:29,300 Are the environment where it was we can see here. 8 00:00:30,150 --> 00:00:36,990 I don't know every environment where I would explain that most of these and you can see Lang Lang stands 9 00:00:36,990 --> 00:00:40,920 for language and this language of the system is English India. 10 00:00:42,060 --> 00:00:50,610 And you can see all the people ought to be able stands for the previously you had more to the territory 11 00:00:50,970 --> 00:00:52,210 which the home, Nicky. 12 00:00:52,260 --> 00:00:56,340 So before I moved to this club, I was in the home that is home Nicky. 13 00:00:56,700 --> 00:01:00,570 And it is the old poor old part. 14 00:01:02,810 --> 00:01:09,440 And as you can see, there is a user and the very sneaky and the opposition as you want, because I'm 15 00:01:09,440 --> 00:01:16,670 using the Ubuntu and you can see the BWV as the print overcontrolled tree, which is home Nikkie desktop. 16 00:01:16,700 --> 00:01:24,170 So if I had this desktop, so whenever I and we cover the current with the current executes and that's 17 00:01:24,170 --> 00:01:26,630 where you would be stored in a variable. 18 00:01:27,500 --> 00:01:32,510 So if I also have this home that a tree and the home Nikkie. 19 00:01:34,490 --> 00:01:34,990 All right. 20 00:01:35,000 --> 00:01:39,200 Now I have so many environment. 21 00:01:39,200 --> 00:01:42,800 There was not the one important. 22 00:01:43,590 --> 00:01:46,730 I will one important variable is part variable. 23 00:01:51,400 --> 00:01:59,290 So this very well you can see here, this contains a path and so me and Colin and another path and current 24 00:01:59,290 --> 00:01:59,820 another path. 25 00:01:59,980 --> 00:02:05,260 So this path will contains the final parts separated by color. 26 00:02:05,920 --> 00:02:15,790 So what this part does is whenever you enter a command on your next mission, less, then this command 27 00:02:15,790 --> 00:02:19,420 will be to come in each and every Florida special with a pathway. 28 00:02:20,290 --> 00:02:26,890 So our shared interpreter goes to this territory and we check whether there is a command or not. 29 00:02:27,460 --> 00:02:35,830 And if this binary is not followed, then it will go to the next part, which is a circle, and it will 30 00:02:35,830 --> 00:02:39,080 check in for whether my husband is there or not. 31 00:02:39,220 --> 00:02:42,070 And in the same way, Twitter can tell it has been found. 32 00:02:42,520 --> 00:02:48,170 And if there is no address binary in our in all these parts, then it will return error. 33 00:02:48,550 --> 00:02:51,250 So there is no nickel in these parts. 34 00:02:51,440 --> 00:02:56,000 And if I hit enter, I say it will tell us they command, not form. 35 00:02:57,220 --> 00:03:06,040 So as you can see in the previous video, I mean, in the previous years we have viewed the structure 36 00:03:06,040 --> 00:03:08,770 and we have got the territory. 37 00:03:08,830 --> 00:03:11,440 There are probably command and other commands. 38 00:03:11,770 --> 00:03:12,910 So this. 39 00:03:14,410 --> 00:03:24,740 But using the pathway and you can say that if I said people will be our parish president, it's been 40 00:03:24,760 --> 00:03:33,130 so since the party has been included in the pathway to break our binaries in those for us, that we 41 00:03:33,130 --> 00:03:37,480 get to dictate that I regret the home desktop. 42 00:03:39,010 --> 00:03:47,980 So one way to access these particular variables is using the dollars, but in the shadows indicates 43 00:03:47,980 --> 00:03:48,910 the variable. 44 00:03:49,060 --> 00:03:53,950 So if I said no part and know I get only the. 45 00:03:56,540 --> 00:03:58,830 Value of the past available, right? 46 00:04:00,070 --> 00:04:06,680 Right now, what I want to see is I can access the simular, I can access the other variables in a similar 47 00:04:06,680 --> 00:04:11,540 way, using their code daughter and whole and dollar user. 48 00:04:14,320 --> 00:04:21,310 So in this way, you can access the particular variable using the dollars, but. 49 00:04:23,750 --> 00:04:30,590 And one more comment I want to show he's sorry. 50 00:04:32,880 --> 00:04:34,270 Our expert comment. 51 00:04:35,370 --> 00:04:45,780 So what this does is it will take this very special and it will put it where it was, let's export. 52 00:04:47,470 --> 00:04:54,040 And see, daughter IP is equal to. 53 00:04:56,750 --> 00:04:57,440 Google. 54 00:05:04,080 --> 00:05:11,730 So that's what I want to do, is export the way to name is equal to. 55 00:05:12,450 --> 00:05:15,420 So I want to export IP to Google dot com. 56 00:05:16,410 --> 00:05:23,130 Now, the IP value has been stored in our environment where it was one way to access that environment 57 00:05:23,400 --> 00:05:25,910 will is a core IP. 58 00:05:26,700 --> 00:05:29,970 So I have got this guru.com value. 59 00:05:30,570 --> 00:05:33,540 Now, if I just think that Google dot com. 60 00:05:35,900 --> 00:05:46,930 So binging is sending this mother make sure that we have the access to the Gurel commander. 61 00:05:52,790 --> 00:05:53,340 OK. 62 00:06:01,510 --> 00:06:10,990 What we'll get there is some summer, so maybe why peace not working, OK, instead of guru.com, I 63 00:06:10,990 --> 00:06:21,880 can now press i.p so it will execute the thing with the value of the IP, wherever that is guru.com. 64 00:06:22,270 --> 00:06:28,930 In this way, you can store the environment, you can create some variables and you can assign the value 65 00:06:28,930 --> 00:06:29,920 to those variables. 66 00:06:30,550 --> 00:06:33,340 And that what I do in this is in the point. 67 00:06:33,580 --> 00:06:43,060 You need to remember the IP address all the time because you want to expand this take so long and you 68 00:06:43,060 --> 00:06:51,670 need to remember that IP address so that remembering the IP address for the time is not that much easy. 69 00:06:51,880 --> 00:06:54,790 That's why we will store it as a variable 70 00:06:57,730 --> 00:07:00,780 and we can access that IP address using that variable. 71 00:07:02,140 --> 00:07:09,970 So I want to show you another one important topic is Peterle and I got this desktop and search copy. 72 00:07:10,180 --> 00:07:12,220 And what I want to do is export. 73 00:07:16,080 --> 00:07:25,650 Export parties equals two and no, I want to create a new part of it, as I want to add my own desktop 74 00:07:25,650 --> 00:07:35,460 part into this pathway so that if there is a binary in my desktop, I can execute it from any further 75 00:07:35,700 --> 00:07:36,790 or any directory. 76 00:07:37,620 --> 00:07:46,920 So one thing you knew you can add the value to this variable is you need to say expert parties equals 77 00:07:46,920 --> 00:07:47,180 two. 78 00:07:48,120 --> 00:07:49,440 And the other part. 79 00:07:51,990 --> 00:08:02,340 So this currently this country puts the value of this variable into this into this value and then what 80 00:08:02,350 --> 00:08:04,140 do I want to call it? 81 00:08:04,140 --> 00:08:08,810 Because everybody's is afraid of Bacalar and I want to control it. 82 00:08:09,060 --> 00:08:18,990 So I have this Omnitech desktop to the pot variable and then exported this entire value to the pot variable. 83 00:08:19,560 --> 00:08:23,640 Now, if I go down to the pot. 84 00:08:26,150 --> 00:08:36,070 Now, I can see previously I have been snapping and now my home, Nikitas Collaboratory has been appointed 85 00:08:36,080 --> 00:08:44,690 to this DARABA, so whenever I have the executable at my desktop, I can run this in any directory or 86 00:08:44,690 --> 00:08:50,360 in any further because it's like executing the other binary. 87 00:08:50,690 --> 00:08:54,460 Like undisputably I can just execute it anywhere.