basename <string...>

Return filename portion of pathname

Arguments

NameDescription
stringString to operate on (typically filenames)

Options

NameDescription
-aTreat every argument as a string
-s <suffix>Suffix to remove from string