The Free On-line Dictionary of Computing (30 December 2018):
basenameThe name of a file which, in contrast to a pathname, does not mention any of the directories containing the file. Examples: pathname basename -------- -------- /etc/hosts hosts ./alma alma korte/a.a a.a a.a a.a See also pathname. (1996-11-23)