BASENAME(1L) BASENAME(1L) NNAAMMEE basename - strip directory and suffix from filenames SSYYNNOOPPSSIISS bbaasseennaammee name [suffix] [--help] [--version] DDEESSCCRRIIPPTTIIOONN This manual page documents the GNU version of bbaasseennaammee. The bbaasseennaammee command removes any leading path from _n_a_m_e; If _s_u_f_f_i_x is specified and is identical to the end of _n_a_m_e, it is removed from _n_a_m_e as well. bbaasseennaammee prints the resulting name on the standard output. OOPPTTIIOONNSS _-_-_h_e_l_p Print a usage message on standard output and exit successfully. _-_-_v_e_r_s_i_o_n Print version information on standard output then exit successfully. FSF GNU Shell Utilities 1 .