Get just the filename from a path in a Bash script
18691
Extract filename and extension in Bash
12149
How do I get the path and name of the file that is currently executing?
85682
omit filenames in grep
115702
How do I get query string value from script path?
89409
How might I get the script filename from within that script?
41933
How to extract the last two (or any number) directories from a path with sed?
113282
how to extract part of a filename before '.' or before extension
141213
How do I check if a filename matches a wildcard pattern
118409
storing a directory name with spaces in a bash variable
81785
How does one extract each folder name from a path?
86978
How to find a file in the filesystem from the command line?
102447
grep without showing path/file:line
113327
Find file name from full file path
28555
Extract substring in Bash
79469
How I get my command prompt to show just the name of the folder I'm in (not the whole path))
152300
How to get a file in Windows with a colon in the filename?
130246
Get filename from file pointer