1 00:00:00,330 --> 00:00:05,460 Right now, let's talk about the environment, maybe now the environment where they are just a very 2 00:00:05,460 --> 00:00:06,820 big but for the system. 3 00:00:07,230 --> 00:00:16,170 So you saw that directory or their breath for the Java interpreter, the compiler, compiler, python, 4 00:00:16,170 --> 00:00:17,220 interpreter, whatever. 5 00:00:17,260 --> 00:00:22,500 OK, so the difference between variable and environment variable is that the environment where they 6 00:00:22,500 --> 00:00:27,350 are for this is not just a symbol or a normal variable. 7 00:00:27,730 --> 00:00:32,350 OK, so to show all the variables, we would use the command in our environment. 8 00:00:32,370 --> 00:00:36,370 So in here you can see it will show us all everything we have. 9 00:00:36,750 --> 00:00:38,120 So they should live in the loop. 10 00:00:38,180 --> 00:00:42,560 Name that, as you can see, the search to order. 11 00:00:42,780 --> 00:00:43,200 OK. 12 00:00:44,380 --> 00:00:51,340 Now, here are some of the tips I want to mention is that the behavior of the you are using so depends 13 00:00:51,340 --> 00:00:51,820 on that. 14 00:00:52,150 --> 00:00:55,410 You need to know where to define your environment variables. 15 00:00:55,810 --> 00:01:00,900 So, for example, if you are using as such, you need to define your environment. 16 00:01:00,920 --> 00:01:04,530 We been in the Loganville should Beth. 17 00:01:04,690 --> 00:01:06,500 So like the profile. 18 00:01:06,910 --> 00:01:15,760 So either the did provide the best the place that provides or to provide in the directory of the user, 19 00:01:15,760 --> 00:01:19,000 the home director of the user, which is open to like this. 20 00:01:19,000 --> 00:01:24,970 As you can see here, you need as you can see, if you read and see, executed by command interpreter 21 00:01:24,970 --> 00:01:26,090 for locations. 22 00:01:26,110 --> 00:01:28,810 So these are looking at or the locations. 23 00:01:28,870 --> 00:01:31,630 OK, so that's for a specific user. 24 00:01:31,660 --> 00:01:35,310 So you created user test and you created this file. 25 00:01:35,530 --> 00:01:41,100 So all the environment value defined here, by the way, defined and given where there is no big deal, 26 00:01:41,230 --> 00:01:42,270 I will show you right away. 27 00:01:42,280 --> 00:01:42,680 Don't worry. 28 00:01:42,980 --> 00:01:43,360 OK. 29 00:01:43,390 --> 00:01:50,560 So if you define event environment variable here in the test to provide file only this this user will 30 00:01:50,560 --> 00:01:53,020 have this environment very but not the whole system. 31 00:01:53,320 --> 00:01:58,810 But for the whole system, you will use that the best ATC profile. 32 00:01:58,960 --> 00:02:07,480 OK, so using any of them ATC profile and here this is the profile fight for the launches. 33 00:02:07,480 --> 00:02:08,570 For the whole system. 34 00:02:08,590 --> 00:02:08,860 Yeah. 35 00:02:08,860 --> 00:02:10,270 As you can see, it is a system. 36 00:02:10,270 --> 00:02:13,050 Want to provide for the burn --. 37 00:02:13,250 --> 00:02:16,900 OK, so actually this is for the best, not for orchard's. 38 00:02:16,930 --> 00:02:19,510 So if you are using digital it will be something else. 39 00:02:19,720 --> 00:02:21,610 ATC provided D or whatever. 40 00:02:21,620 --> 00:02:24,220 OK, or ATC as profile. 41 00:02:24,310 --> 00:02:27,630 OK, so it depends on the shell you are using or the definition you are using. 42 00:02:27,640 --> 00:02:32,560 So if it is a abortion now this is the case, you need ATC profile. 43 00:02:32,720 --> 00:02:40,390 OK, now sometimes it is ETSI environment, so that's like this ATC environment like this. 44 00:02:40,390 --> 00:02:43,510 And hear about the environment variables like a one. 45 00:02:43,510 --> 00:02:48,970 As you can see, this is some examples, the name of the environment variable and it is Capitán equal 46 00:02:49,060 --> 00:02:51,440 and in double quotation, whatever you want. 47 00:02:51,610 --> 00:02:52,900 So it is a key value bill. 48 00:02:53,080 --> 00:02:53,730 Nobody. 49 00:02:53,740 --> 00:02:59,140 OK, and after you add, you want the thing you want, either you can quit from the shell and open it 50 00:02:59,140 --> 00:03:05,680 again, or using this command, which is the source command, ATC environment or ATC provider, in order 51 00:03:05,680 --> 00:03:10,870 to provide find the path to that file you have entered or type your environment. 52 00:03:10,990 --> 00:03:14,560 But so sort this like this and it will be here. 53 00:03:15,580 --> 00:03:21,490 So, for example, let's put anything just arbitrary in the environment, for example, X1, yeah, 54 00:03:21,610 --> 00:03:28,960 by the way, I forgot to open it as a studio because it is only so pseudo like this, like we learned. 55 00:03:29,230 --> 00:03:32,110 And here, don't worry about the wind, we will talk about it. 56 00:03:32,600 --> 00:03:35,550 So x1 equal best for example. 57 00:03:35,560 --> 00:03:41,860 OK, so let's quit from the from here and if I type source the ABC environment. 58 00:03:43,650 --> 00:03:49,210 And if I type in, it is not found, maybe I need to run the pseudo command here. 59 00:03:49,710 --> 00:03:54,800 OK, sometimes this happens because they are using the POSIX or something like that. 60 00:03:54,810 --> 00:03:57,060 Anyway, we can use the document. 61 00:03:57,250 --> 00:03:57,660 OK. 62 00:03:58,560 --> 00:03:59,990 And, by the way, did not vote. 63 00:04:00,030 --> 00:04:08,100 OK, so we can use a pseudo dash and then wait for it, and if I type in this time again, you can see 64 00:04:08,100 --> 00:04:10,620 that X one is found now. 65 00:04:10,800 --> 00:04:13,360 OK, so X one equals this. 66 00:04:13,620 --> 00:04:14,610 And why this happened? 67 00:04:14,610 --> 00:04:17,190 Because we quit from the shell and we opened it again. 68 00:04:17,250 --> 00:04:20,070 OK, so nobody which is the bastion, I mean. 69 00:04:20,070 --> 00:04:20,520 All right. 70 00:04:21,000 --> 00:04:27,450 Now again, maybe why this didn't work using the source comment, actually, because it is something 71 00:04:27,450 --> 00:04:32,570 for the whole system and you are using the Ubuntu user, which is something not very powerful at the 72 00:04:32,580 --> 00:04:32,930 root. 73 00:04:33,420 --> 00:04:37,380 So if you type it on your profile, it depends on the user you want. 74 00:04:37,380 --> 00:04:39,880 You would find it there and it will work 100 percent. 75 00:04:40,080 --> 00:04:40,500 All right. 76 00:04:40,800 --> 00:04:41,670 Thanks for watching.