Definition

The basename of a path is the filename, excluding any directory path. It is commonly used in programming and command-line operations to refer to just the name of a file without any path information attached.