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