to the UNIX utility basename(1). basename takes a pathname as argument and returns the filename only; it... anipulations that are commonly needed on file and path names.
Background
In traditional Bourne shell ... s are necessary perform on lists of filenames and paths. There are many specialized programs that are co... rify that these parameters are valid filenames or paths. They simple perform simple string operations on