Linux stat Command
Categories:
What is Linux stat Command?
In this tutorial we learn how to use stat command in Linux. stat command is stat - display file or file system status
stat Syntax
stat [OPTION]... FILE...
stat Examples
stat Command Manual / Help
We can use man
and info
command to see the manual page of stat command.
stat command also have --help
option to show list of options.
To open man page for stat command we can use command below. To exit man or info page you can press q
.
man stat
To open info page for stat command we can use command below.
info stat
To open help page from stat command we can run command below.
stat --help
Linux stat Command Source Code
You can find stat command source code from the folowing repositories:
- stat source code on GitHub
- stat source code on GNU Savannah cgit
- stat source code on GNU Savannah gitweb
Related Linux Commands
You can read tutorials of related Linux commands below:
Summary
In this tutorial we learn how to use stat in Linux with practical examples. Visit our Linux Commands guide to learn more about using command line interface in Linux.