Reference
strip directory and suffix from filenames
Linux Command
basename OPTION
Print NAME with any leading directory components removed. If speci-fied, also remove a trailing SUFFIX.--help display this help and exit--versionoutput version information and exit