 Okay, this is a part of a series. There should be an annotation on the screen leading to the playlist I recommend watching it now we've been working with said to do some substitutions and We've been working with this file that we've created for the tutorial just a basic little text file with some random stuff in it Well, what we're going to do here is we are going to say I showed you how to you know substitute stuff so if we want to substitute every Capital T with lowercase t of course give it a file name We can do that. I showed you that if you want to do more than one command you can put the semi colon here and Go like this and we can say all capital these two uppercase E's and we got that But let's say you had a lot of things you want to do And your line would just get extremely long here or you would have It could get sloppy basically we can put all this stuff Into a text file and tell said to look at it. So that's what we're going to do today We're going to create a file. It's going to be a text file. You can call it whatever you want. I'll call it my said script and I will say let's substitute all capital T's with lowercase t's globally all Lowercase E's with capital E's globally and if I type this right, I want to say w Asterix dot forward slash Forward slash no global on that. Otherwise we'd wipe out every word But that should remove the first word of each line if I typed it properly And so now what I would say is said and I give it dash F telling it to look at a file What file are we going to look at this my said script file and what file are we going to modify? We're not going to put the I in there the dash I if you've been watching the series note I'm talking about that would modify the file the actual file, but we're just going to modify the output of it So we're going to enter here. And as you can see We have replaced all lowercase ease with capital these all the T's are now lowercase And we removed the first word from each line So you can put as many commands as you want inside the script file and it might clean up your code a little bit Yeah, you might need a second file You know, there's other options. Like I said, you can do it in line with semi-colons And you can also break things down if you're actually writing a shell script And put them on new lines just as you would any other command But that is working with script files in said and I hope that you enjoyed this tutorial My website is films by chris.com. That is chris with a K. There should be a link in the description Check it out I also hope that you subscribe and like this video and watch my other videos as well I put out a shell script videos on Monday every Monday, and I have other videos Currently on Wednesdays and Fridays on other topics programming computers in general And I might be adding other videos on other days if I ever get the time anyway I thank you for watching and I hope that you have a great day