might see references to the basename and dirname commands. These perform simple string manipulations on the... /a.filename.txt which we'll call $f you could use commands like:
dirname $f
basename $f
... t a filename.
Despite their simplicity these two commands are used frequently in shell programming because ... f a given full file specification.
Usually these commands are used within the "back tick" shell operators l