dirname
Strip last component from file name
- Provided by: rust-coreutils (Version: 0.2.2-0ubuntu2.1)
- Report a bug
Strip last component from file name
dirname [-z|--zero] [-h|--help] [-V|--version] [dir]
Strip last component from file name
Output each NAME with its last non-slash component and trailing slashes removed; if NAME contains no /'s, output '.' (meaning the current directory).
v(uutils coreutils) 0.2.2