From LQWiki
Stat displays the status of a file or the filesystem a file is on.
To obtain information about a file:
$ stat file
To obtain information about the filesystem file is on:
$ stat -f file
Use the -c option and various format sequences to obtain tailored output or the -t format for terse (and easily parsed) output. See the man page for full details.

This page is available under a