Using the stat Command The syntax for the stat command is as follows: stat [OPTION]... FILE... stat accepts one or more input FILE names and includes a number of options that control the command behavior and output.