The Stat Command – Display File or Filesystem Information on the Linux Command Line

The stat command is part of the GNU Core Utilities which comes pre-installed with almost all UNIX and Linux systems. It is used to print the attributes of a file to standard output (STDOUT). In this article we will discuss how to use the stat command, using it’s options and formatting the output.

Get the Free Newsletter!

Subscribe to Developer Insider for top news, trends, & analysis