basename - stripped directory and suffix from a file name

Overview (SYNOPSIS)

basename NAME [SUFFIX]
basename OPTION

Description (DESCRIPTION)

 

NAME remove the directory display component. SUFFIX If specified, while removing the trailing SUFFIX.

--help
Displays help information and exit
--version
Display version information and exit 

Guess you like

Origin www.cnblogs.com/fanweisheng/p/11076465.html