1 00:00:00,450 --> 00:00:03,790 Today, we will start with our second lesson in the scripting. 2 00:00:05,160 --> 00:00:09,140 Last time we talked about the variables and today we will talk about if statements. 3 00:00:11,160 --> 00:00:14,520 But before we do that, let's see how we read user input. 4 00:00:14,520 --> 00:00:15,990 And this played into the screen. 5 00:00:17,520 --> 00:00:23,340 If we want to read some input from the user, we use the read command in our best script, followed 6 00:00:23,340 --> 00:00:26,040 by the variable name we want input stored in. 7 00:00:27,720 --> 00:00:28,830 Let's see, an example. 8 00:01:13,870 --> 00:01:14,320 Nice. 9 00:01:15,130 --> 00:01:21,070 We can also use a desktop with our read to add a problem to the user so we don't have to use our first 10 00:01:21,070 --> 00:01:21,730 segment. 11 00:01:23,380 --> 00:01:24,310 Let's try that. 12 00:02:17,030 --> 00:02:25,130 Let's make it look nicer by adding new land character to reprint our user, to add a new line, we can 13 00:02:25,130 --> 00:02:26,600 type back again. 14 00:02:27,500 --> 00:02:33,440 But notice, if he wants your best to interpret your new line, we must add Dashty after our echo. 15 00:02:35,210 --> 00:02:36,080 Let's try that. 16 00:03:05,900 --> 00:03:11,460 But hold on, our passport is so clear, anyone can see it when I type it, right? 17 00:03:12,470 --> 00:03:15,940 Don't worry, we can hide it by adding the letter s to our dash. 18 00:03:18,200 --> 00:03:18,920 Let's try. 19 00:03:37,390 --> 00:03:38,080 How is that?