| Main index | Section 1 | 日本語 | Deutsch | Options |
The dirname utility deletes the filename portion, beginning with the last slash ‘amp;/’ character to the end of string (after first stripping trailing slashes), and writes the result to the standard output.
FOO=`dirname /usr/bin/trail`
| BASENAME (1) | June 21, 2021 |
| Main index | Section 1 | 日本語 | Deutsch | Options |
Please direct any comments about this manual page service to Ben Bullock. Privacy policy.
| “ | Do you laugh when the waiter drops a tray full of dishes? Unix weenies do. They're the first ones to laugh at hapless users, trying to figure out an error message that doesn't have anything to do with what they just typed. | ” |
| — The Unix Haters' handbook | ||