bash basename code example
Example 1: shell basename
filename='basename $file'
Example 2: basename bash
basename(1) - strip directory and suffix from filenames
filename='basename $file'
basename(1) - strip directory and suffix from filenames