macOS / binaries /

stat

/usr/bin/stat
Display file status

The stat utility displays information about the file pointed to by file. Read, write, or execute permissions of the named file are not required, but all directories listed in the pathname leading to the file must be searchable.

source: man