 Sometimes when creating stories like this over basic stuff, it's hard to think about what to show first. So this might have been a command that could have been coming a little bit earlier, but how to change directory. So let's say you want to move to a different folder. Right now I'm in my home folder. I can type in cd for change directory and then type in what folder I want to go to. So I can say forward slash temp and that will bring me to my temp folder. I can then from there, cd into a folder I have called test. Now I want to point out a few differences between the two commands I just typed. You notice this one starts with a forward slash and this one did not. Forward slash here at the very beginning means your root directory, you're all the way to the beginning of your hard drive. As far as directories go, where if you don't have it, it means a file or a folder in the current directory. So for example, if I want to go back to the temp folder, I can type in cd backslash temp to get there. But if I leave out that backslash, it's going to tell me that director doesn't exist because there is no TMP folder in the current directory I am in. So another thing I could do is at any point if you want to get back to your home directory in most systems, if you just type cd and hit enter, it's going to bring you to your home directory. So I'm in my home directory, which is shown by this little till day here, this little squiggly line that indicates your home directory. So I could also go cd till day and it brings me to my home directory. But you don't need to do that because like I said, cd just brings you home directory. Now let's say I wanted to go to this test folder that's inside the temp folder. I can't just test cd test because it's going to go, there's no directory in the current directory you are in called test. So I have to tell it the full path that I want to go to, cd temp test. And that works. And again, if I'm already in my temp directory, I can cd into test because that folder is inside the folder I'm in. So we looked at folders in the current directory. We looked at typing full paths starting with the forward slash. I showed you that just typing cd will bring you to your home directory. Other things you can do. So let's go back into our temp test folder. Other things you can do. Well, let me actually go show you one is if I can go cd dot dot backslash. And the dot dot backslash will bring you up one folder. And in fact, if I cd test to go back into that test folder, I should be able to cd dot dot. Yeah. You know, I tend to type the backslash. You don't need that. Dot dot just means the directory above the current directory. And so the folder above the directory. And so I can go cd test. And then there's a test two folders. Now I'm in a folder and my system set up. Show me what folder I'm in right here on my little prompt. So I'm in a folder temp. And inside that, I'm inside a folder called test. And inside that, I'm in a folder called test two. So I can say cd dot dot. And I move up one cd dot dot. And now I'm back up in my temp directory. If I cd dot dot, I'm in my root directory. If I cd dot dot, I don't go anywhere because I'm as high as I can go in the tree of directories. So to move back into my folder here. And again, I was using tab to autocomplete. I went over that I think in the very first or second video that I've done in this series. I can also let's say I want to move up two directories. I can cd dot dot backslash dot dot backslash. Or really you don't need that last backslash. And it moved me up from the test two directory. It moved me up two directories back into my temp directory. So that's what the dot dot means. Now there's also a single dot. And single dot just means the current directory. So as I said, you could do cd test to move into test. And I can do cd dot dot to go back one. I still understand I haven't used that backslash. I could also do cd dot forward slash test to move into the test directory. And if I do cd dot dot backslash again, I should also I think do cd dot test. Okay, no you need the forward slash if it's a folder there. So the dot just means current directory and lots of cases you don't need it. Because I can just cd test rather than cd dot forward slash test. There are cases though where you do need the dot slash mainly running programs that are in your current directory, which we'll talk about in a future video. Also want to point out that folders and files are case sensitive. I am using ZShell. So it's a little lore. I can type in test here and it's not going to work. But if I was to hit tab here, ZShell changes it to capital T. So just keep that in mind that I can't cd, let me go back. I can't cd into test because test does not exist with the lowercase t. Test exists with the capital T. But again, since I'm using ZShell with my setup if I hit tab, it auto corrects that for me, which is nice. That's one of the reasons I use ZShell over bash. If your default shell is bash, that will not work. I can do cd test, hit tab all I want. And test is not a directory. So it's not going to work. And actually in this case, there is actually a file called test with lowercase t. So it's a little different there. But that's it for the basics of changing directory. I hope that that made sense to you. Again, I might be going kind of fast. I'm trying to get through the basics here. It's a video you can always pause and rewind. Be sure to let me know below in the comments. What do you think? If you're enjoying these tutorials on the shell script basics, I will get to more fun things in future videos. I'm just trying to get through some of the basics here real quickly in these first couple of weeks. If you're a little lost, have you watched the full playlist? Be sure to check out the annotation on the screen or in the description for the full playlist. Be sure to like, subscribe, share, and comment. And also, that just helps support my videos. If you want to be a financial supporter, you can go to patreon.com. It should be a link to that in the description as well. You can support me financially there. I would appreciate that if you could. If not, just like, share, subscribe, and comment. That helps me out a lot. Please visit my website, Films by Chris. That's Chris with the K. There should be a link in the description. And as always, have a great day.