stat(2) - man - phpman

Look up a command

 

Not found locally for stat. Try Google search | cheat.sh


TLDR: stat (tldr-pages)

Display file and filesystem information.

  • Display properties about a specific file such as size, permissions, creation date, and access date among others
    stat {{path/to/file}}
  • Display properties about a specific file, only showing the raw result data without labels
    stat {{-t|--terse}} {{path/to/file}}
  • Display information about the filesystem where a specific file is located
    stat {{-f|--file-system}} {{path/to/file}}
  • Show only octal file permissions
    stat {{-c|--format}} "%a %n" {{path/to/file}}
  • Show the owner and group of a specific file
    stat {{-c|--format}} "%U %G" {{path/to/file}}
  • Show the size of a specific file in bytes
    stat {{-c|--format}} "%s %n" {{path/to/file}}
intro (2)            - introduction to system calls

Generated by phpMan Author: Che Dong Under GNU General Public License
2026-06-02 05:17 @216.73.216.198 CrawledBy Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
Valid XHTML 1.0 TransitionalValid CSS!