 Hello and welcome this video's part of a series chart chart to check out the full playlist in the description of this video Or at the end of this video today, we're gonna be looking at arrays in the shell But only just not any arrays, but read only arrays. So let's create an array here. I will call it names And I'll say that names equals and inside parentheses here. I'm gonna say Bob comma Also that kind of space Tom space and Pete really I don't need those parent or quotations since they're all there's no spaces or in them But I like to do that anyway and now I can say echo dollar sign And I'll say names and if I say Zero they will give me Bob and if I say one it will say Tom if I say two it will say Pete And I can change those so I can say names zero equals Bill and now I can echo out two is Pete One is still Tom, but zero is Now bill instead of Bob Let's say you want to create a an array where you can't change it once it's set It might be vital to your application that no one modifies those arrays once the program starts running Well, there's a very simple way to do that Let's go ahead and clear our screen here. We'll create an array the same way this time Let's call it NAM just to create a new array and not name it the same as the old one just to keep them separate But what we're gonna do is we're gonna just type read only dash a and they'll say NAM and just like before we will say Bob Tom and Pete and I can say echo Zero One and two Now if I try to rename one of those so I'll say NAM Zero equals Bill just like we did before it says sorry read only variable and we can Ech it out again. You can see that it did not change. So that is how you can change Or set your arrays so they can't be changed is by making them read only So I do hope that you found this video useful. I hope that you enjoy it Please check out all my videos at my website films by Chris comm. That's Chris of the K There's a link in the description of the video there. You can search through all my videos from both my channels I hope that you find them useful and If you do be sure to like share subscribe and comment really do appreciate it if you have a little bit of money Financial support is great either through PayPal or patreon.com forward slash metal x1000 you can find both those links at my website films by Chris comm in the support section Check out the links in the description of this video and as always, I hope that you have a great day