BASENAME(1L)

NAME
basename - strip directory and suffix from filenames

SYNOPSIS
basename name [suffix]

DESCRIPTION
This manual page documents the GNU version of basename. The basename command removes any leading path from name; If suffix is specified and is identical to the end of name, it is removed from name as well. basename prints the resulting name on the standard output.