DIRNAME(1L) DIRNAME(1L) NNAAMMEE dirname - strip filename suffix from pathname SSYYNNOOPPSSIISS ddiirrnnaammee [--help] [--version] path DDEESSCCRRIIPPTTIIOONN This manual page documents the GNU version of ddiirrnnaammee. ddiirrnnaammee prints the leading path part of the pathname _p_a_t_h. If _p_a_t_h does not contain a leading path, ddiirrnnaammee prints `.' (meaning the current directory). 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 .