stat is a command-line utility that displays detailed information about given files or file systems.
This article explains how to use stat command.
Using the stat Command
The syntax for the stat command is as follows:
stat [OPTION]… FILE…
Copy
stat accepts one or more input FILE names and includes a number of options that control the command behavior and output.
Let’s take a look at the following example:
#linux