 Okay, let's say that you have a full path name to a file such as so I can echo that out if I wanted to get just The file name I can say base name and it'll give me just the file name But if I want just the directory that it's in I can type in der name and the file name and it'll give me just directory This is very handy if you're manipulating files And maybe you want to rename a copy of that file and put it in the directory Or you're going to move to another directory, but you just need that file name So you know what to rename it as so this is kind of a beginner type thing But also probably overlooked by a lot of people so I just thought I'd share it and That's it films by Chris calm. That's Chris the K I hope you found this useful if you have any questions about this. Let me know in the comments below I hope that you have a great day