Search This Blog

Tuesday, September 10, 2013

Use of stat command....

Use stat command. It displays file or file system status such as:

=> File size

=> File type

=> Inode number

=> UID/GID

=> File access , modify and creation time etc.
stat command example

$ stat /etc/passwd

Display file system status

You can display file system status instead of file status. For example, display status for / file system:

$ stat -f /

No comments: