Show owner and group name of each file

namei

  • Follows a pathname (which can be a symbolic link) until a terminal point is found (a file/directory/char device etc).
    This program is useful for finding "too many levels of symbolic links" problems.
    More information: <https://manned.org/namei>.
  • Trick copyright: tl;dr; <https://github.com/tldr-pages/tldr>

namei --owners {{path/to/a}} {{path/to/b}} {{path/to/c}}

click the source code to copy install namei on any operating system with command-not-found.com