basenameを使う
$ FILE=./app/files/sysconfig_httpd_aaa
$ basename $FILE
sysconfig_httpd_aaa
More than 3 years have passed since last update.
basenameを使う
$ FILE=./app/files/sysconfig_httpd_aaa
$ basename $FILE
sysconfig_httpd_aaa
Register as a new user and use Qiita more conveniently