basename


basename

(file system)The name of a file which, in contrast to apathname, does not mention any of the directoriescontaining the file. Examples:

pathname basename-------- --------/etc/hosts hosts./alma almakorte/a.a a.aa.a a.a

See also pathname.