stat

Display file and filesystem information. More information: https://www.gnu.org/software/coreutils/manual/html_node/stat-invocation.html.

stat path/to/file

stat --terse path/to/file

stat --file-system path/to/file

stat --format="%a %n" path/to/file

stat --format="%U %G" path/to/file

stat --format="%s %n" path/to/file