 So the other day we were talking about file names and directory names And we used the dur command the dur name command and the base name command to get the directory name of a file And also get the file name now Here's a URL thing is you can use the same commands on a URL So if I say dur name and give it a few URL a full URL It will give me the path of that URL up until the file name and then cut that off And of course you can use base name the same way But you might have also in the URL maybe some variables like q equals Linux and Stamp equals date or something now it will give you the final name and the variables If you don't want that usually it's very simple. You're going to say something like cut until to cut everything After the first question mark and give you the results and then you'll get the name of the file from the web server Without all the other stuff. There might be a few cases where it's different, but I hope you found this useful The dur name and base name commands are pretty common in basic commands that many people learn When they're starting off in a Unix system But they may not realize they work on URLs because it's just looking at the string and it's working the same way with the Fordslashes I do thank you for watching and please visit films by chris.com. That's chris of the cake There's a link in the description, and I hope that you have a great day