termtrick.com
Run
API
Facebook
Twitter
LinkedIn
Copy link
Delimit output with a NUL character instead of a newline (useful when combining with xargs)
dirname
Calculates the parent directory of a given file or directory path.
More information: <https://www.gnu.org/software/coreutils/dirname>.
Trick copyright:
tl;dr; <
https://github.com/tldr-pages/tldr
>
dirname --zero {{path/to/directory_a}} {{path/to/file_b}}
click the source code to copy
install
dirname
on any operating system with
command-not-found.com