The stat command 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 path name leading to the file must be searchable.

# To show file properties such as size, permissions, creation and access dates among others:
stat file

# To same as above but verbose (more similar to linux's 'stat'):
stat -x file

# To show only octal file permissions:
stat -f %Mp%Lp file

# To show owner and group of the file:
stat -f "%Su %Sg" file

# To show the size of the file in bytes:
stat -f "%z %N" file