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) | May 26, 2020 |
Main index | Section 1 | 日本語 | Deutsch | Options |
Please direct any comments about this manual page service to Ben Bullock. Privacy policy.
“ | Ken Thompson has an automobile which he helped design. Unlike most automobiles, it has neither speedometer, nor gas gauge, nor any of the other numerous idiot lights which plague the modern driver. Rather, if the driver makes a mistake, a giant “?” lights up in the center of the dashboard. “The experienced driver,” says Thompson, “will usually know what's wrong.” | ” |