basename(1) on Linux
The text c0121fed0b39, as Debian 10 (Buster) shipped it.
strip directory and suffix from filenames
Flags it lists
-
--help -
--multiple -
--suffix -
--version -
--zero -
-a -
-s -
-z