Linux and Unix dirname command
Deliver portions of path names.
basename string [ suffix ]
|string||Command line or file information.|
|suffix||String with no special significance attached to any of the characters it contains|
* The command basename is generally used inside substitution marks ('') within shell procedures
Return the basename of mail.