Lesson plan

Stat (system call)

is a Unix system call that queries the file system for metadata about a file (including special files such as directories). The metadata contains many fields including type, size, ownership, permissions and timestamps. For example, the command uses this system call to retrieve timestamps: * mtime: when last modified ( ) * atime: when last accessed ( ) * ctime: when last status changed ( ) appeared in Version 1 Unix. It is among the few original Unix system calls to change, with Version 4's addition of group permissions and larger file size. Since at least 2004, the same-named shell command stat has been available for Linux to expose features of the system call via a command-line interface.

Back to article

Article summary

is a Unix system call that queries the file system for metadata about a file (including special files such as directories). The metadata contains many fields including type, size, ownership, permissions and timestamps. For example, the command uses this system call to retrieve timestamps: * mtime: when last modified ( ) * atime: when last accessed ( ) * ctime: when last status changed ( ) appeared in Version 1 Unix. It is among the few original Unix system calls to change, with Version 4's addition of group permissions and larger file size. Since at least 2004, the same-named shell command stat has been available for Linux to expose features of the system call via a command-line interface.

Key claims

No claims recorded.

Discussion questions

  1. Summarise the article in your own words. Which single claim would you verify first, and why?
  2. Which claim in this article is most likely to be revised as the sources update? How would you check its current status?
  3. If two sources disagreed about one of these facts, what would you need in order to trust one over the other?

Bibliography

No sources recorded.

Key claims and bibliography are generated from the same tracked claims and sources as the article page.