1 00:00:00,180 --> 00:00:04,890 All right, now let's start with the variables and special variables in the script. 2 00:00:05,160 --> 00:00:08,400 OK, now the first thing, let's clear this file and its name. 3 00:00:08,400 --> 00:00:14,870 It shall do a search like this and let's do to it you can see that it is not executable. 4 00:00:14,880 --> 00:00:21,050 So sigmoid plus X or user plus if you want it to be more secure, whatever. 5 00:00:22,440 --> 00:00:22,960 OK. 6 00:00:22,980 --> 00:00:25,230 And as the to make sure it has taken. 7 00:00:25,230 --> 00:00:26,160 Yeah it has. 8 00:00:26,170 --> 00:00:30,030 Take this execution permission. 9 00:00:30,810 --> 00:00:33,510 So windshield's the S.H. here. 10 00:00:33,870 --> 00:00:38,410 The first thing you need to provide this thing as you can see, which is the bin Besch. 11 00:00:38,440 --> 00:00:38,910 All right. 12 00:00:39,090 --> 00:00:45,780 So which means that if I interpret or if I execute this file, it will be interpreted or it will be 13 00:00:45,780 --> 00:00:49,370 interpreted by using this utility and this utility is the best. 14 00:00:49,620 --> 00:00:52,550 OK, so far equal. 15 00:00:53,790 --> 00:00:54,230 Hello. 16 00:00:54,690 --> 00:00:55,190 OK. 17 00:00:56,110 --> 00:01:01,510 As simple as that now and here, I will type equal and with the dollar sign. 18 00:01:01,930 --> 00:01:09,340 OK, so when I assign the value without Dallasite, when I echo the value or print the value with. 19 00:01:09,740 --> 00:01:12,970 All right, so execute here. 20 00:01:13,330 --> 00:01:16,340 So as you can see, the slash kill. 21 00:01:16,540 --> 00:01:22,610 OK, now please don't get confused with the here dot, which means it is in the current directory. 22 00:01:22,870 --> 00:01:24,910 So if I actually this would work. 23 00:01:24,910 --> 00:01:26,140 So you see this. 24 00:01:26,470 --> 00:01:26,770 Yeah. 25 00:01:26,770 --> 00:01:27,180 Hello. 26 00:01:27,400 --> 00:01:35,320 This is the same one work if I typed the absolute best like this and then as you can see that it has 27 00:01:35,530 --> 00:01:37,680 worked successfully, no problems at all. 28 00:01:37,860 --> 00:01:43,540 Right now here for the derivates you can see that they are very simple, by the way. 29 00:01:43,540 --> 00:01:50,600 You can put strings, you can put characters, you can put into just value lotting, whatever. 30 00:01:50,650 --> 00:01:52,410 OK, all of that will be worth OK. 31 00:01:52,420 --> 00:01:52,980 No problem. 32 00:01:52,990 --> 00:02:01,360 But again, so the operation like the summation, the addition and subtraction division, that has a 33 00:02:01,360 --> 00:02:04,650 different case and we will handle it in the operators. 34 00:02:04,930 --> 00:02:08,230 Just don't worry about it now for the special variables. 35 00:02:08,630 --> 00:02:11,350 Actually, I summarize it here in this table. 36 00:02:11,500 --> 00:02:14,030 You can see that we have that there are zero. 37 00:02:14,170 --> 00:02:21,270 There are some and there are saying that there are signs are sign at and there are sign question marks 38 00:02:21,520 --> 00:02:25,100 to their signs and there are signs with the declaration Mark. 39 00:02:25,120 --> 00:02:26,020 OK, I'll shift one. 40 00:02:26,200 --> 00:02:29,020 So the first thing which is the name of the current script. 41 00:02:29,190 --> 00:02:38,560 OK, so if you type this, actually, you go to it Celldex Edge and type here equal that here that there 42 00:02:38,560 --> 00:02:40,070 are signs like this. 43 00:02:40,090 --> 00:02:41,460 Now let's run again. 44 00:02:41,890 --> 00:02:48,520 You can see that it will be given the name of the sheet, which is the home of Centocelle, because, 45 00:02:48,520 --> 00:02:51,070 as you can see, depends on what you executed. 46 00:02:51,100 --> 00:02:57,820 So if I type like this schill, good as it would be as such, and to get rid of the directory, you 47 00:02:57,820 --> 00:03:00,960 can use the command called Dayanim, whatever. 48 00:03:00,970 --> 00:03:04,600 OK, just you can read about it depends on your usage, whatever. 49 00:03:04,780 --> 00:03:05,190 All right. 50 00:03:05,410 --> 00:03:12,220 So the other thing which is that Dushan and this is as you can see, the numbers actually so there are 51 00:03:12,220 --> 00:03:14,620 certain one that are so to whatever. 52 00:03:14,650 --> 00:03:18,570 So this will be the arguments that are used. 53 00:03:18,880 --> 00:03:28,150 So for example, if I type as the shell and I typed first, then second, then whatever, OK, so you 54 00:03:28,150 --> 00:03:31,480 can see that this is the first argument and this is the second argument. 55 00:03:31,640 --> 00:03:39,900 And if I typed the shell, for example, and I type equal one, then equal that are assigned to OK. 56 00:03:41,340 --> 00:03:42,540 So let's see. 57 00:03:44,020 --> 00:03:50,320 Jill, again, it should be a second, you can see that this is hello, this is the first one has first 58 00:03:50,320 --> 00:03:50,830 and second. 59 00:03:50,830 --> 00:03:51,280 All right. 60 00:03:52,750 --> 00:03:59,290 Now, here, the number of the argument, which is very harsh, the number of the arguments, so actually 61 00:03:59,290 --> 00:04:07,990 I like to know if I did actually go see so readily that we didn't need it, actually, if I grant it 62 00:04:07,990 --> 00:04:09,010 actually like this. 63 00:04:09,040 --> 00:04:09,480 All right. 64 00:04:09,790 --> 00:04:11,860 So let's see what will give us. 65 00:04:12,340 --> 00:04:12,810 Yeah. 66 00:04:12,850 --> 00:04:13,690 Zero, I think. 67 00:04:13,690 --> 00:04:19,970 But if I typed that first, it will be two, OK, which means two arguments has been selected. 68 00:04:20,350 --> 00:04:28,840 Now we have that start here, which means that all the arguments that are quoted and you can see that 69 00:04:28,840 --> 00:04:31,950 it is equivalent as one, two, three, four. 70 00:04:31,990 --> 00:04:38,980 So for example, you type four arguments and you want to show them all you can just to type this and 71 00:04:38,980 --> 00:04:41,520 it will show all the arguments that you have typed. 72 00:04:41,530 --> 00:04:48,820 OK, and that here that I'm saying that is the same as there are saying start with some differences 73 00:04:48,820 --> 00:04:50,420 anyway, but they are the same somehow. 74 00:04:50,770 --> 00:04:55,960 OK, now for the Dinnerstein question mark, and actually this is very important, which is the exit 75 00:04:55,960 --> 00:04:57,160 strategy of the last comment. 76 00:04:57,490 --> 00:04:59,340 So, for example, let's go here. 77 00:04:59,350 --> 00:05:01,210 And I thought there are some. 78 00:05:02,630 --> 00:05:08,120 What's your mark, which means zero zero means that it has been executed correctly, but if I type this 79 00:05:08,120 --> 00:05:09,610 comment, this is not a comment. 80 00:05:09,890 --> 00:05:10,910 This is our own command. 81 00:05:11,240 --> 00:05:14,720 And if I typed Iko Dursun. 82 00:05:15,580 --> 00:05:21,760 Questionmark, it will show us one twenty seven, which means that this is the last command, which 83 00:05:21,760 --> 00:05:26,840 is this command has been issued as a as an arrow, OK, which means the command line. 84 00:05:27,070 --> 00:05:27,960 That's OK. 85 00:05:27,970 --> 00:05:30,220 Actually, this is done at that command, actually. 86 00:05:30,610 --> 00:05:32,260 But anyway, I'm just showing you. 87 00:05:32,280 --> 00:05:32,710 Right. 88 00:05:32,900 --> 00:05:36,550 And we have that dollar, which means that the process number of the current. 89 00:05:36,910 --> 00:05:40,520 So this will show us the ID of the shield, as you can see. 90 00:05:41,050 --> 00:05:46,900 So if I go here and Shell, she'll detach and I type the other side. 91 00:05:47,910 --> 00:05:48,780 There are nine. 92 00:05:50,140 --> 00:05:59,770 And renditioned again, it see, it will show that the idea for this, OK, that has been executed and 93 00:05:59,770 --> 00:06:05,980 finally we have that Dorasan exclamation mark, which means that we need the precise number of the last 94 00:06:05,980 --> 00:06:06,580 background. 95 00:06:06,960 --> 00:06:08,770 So let's go here. 96 00:06:09,430 --> 00:06:09,910 Shall. 97 00:06:11,190 --> 00:06:11,640 And. 98 00:06:12,580 --> 00:06:16,300 Put it like this and let's wait and see what would show us. 99 00:06:16,450 --> 00:06:21,730 And you can see that nothing at all because we don't have any background commander on it. 100 00:06:21,790 --> 00:06:24,780 Right, by the way, to running anything in the background. 101 00:06:24,820 --> 00:06:26,920 You can issue the command then. 102 00:06:26,920 --> 00:06:29,270 But that and or the embassy. 103 00:06:29,410 --> 00:06:30,690 OK, shift seven. 104 00:06:30,730 --> 00:06:34,240 OK, so this will run this command in the background. 105 00:06:34,270 --> 00:06:40,660 So for example, if I run it like this, you can see we got this idea and it is running in the background 106 00:06:40,660 --> 00:06:41,170 as well. 107 00:06:41,350 --> 00:06:43,570 As you can see, this is the number of the job, by the way. 108 00:06:43,900 --> 00:06:49,330 OK, type of controls it or control it will go and exit from the job. 109 00:06:49,480 --> 00:06:49,960 All right. 110 00:06:50,270 --> 00:06:51,190 Thanks for watching. 111 00:06:51,220 --> 00:06:52,590 I will see you in the next lecture.