Difference between revisions of "Stat (command)"

From wikieduonline
Jump to navigation Jump to search
Line 1: Line 1:
 
{{Draft}}
 
{{Draft}}
 
<code>stat</code> display file or [[file system]] status http://man7.org/linux/man-pages/man1/stat.1.html
 
<code>stat</code> display file or [[file system]] status http://man7.org/linux/man-pages/man1/stat.1.html
 +
 +
 +
== Examples ==
 +
<pre>
 +
stat access.log
 +
  File: access.log
 +
  Size: 0        Blocks: 0          IO Block: 4096  regular empty file
 +
Device: fc11h/64529d Inode: 8528827    Links: 1
 +
Access: (0644/-rw-r--r--)  Uid: (  104/    _apt)  Gid: (  107/messagebus)
 +
Access: 2019-12-31 16:28:22.654021588 +0400
 +
Modify: 2019-12-31 16:27:48.294004369 +0400
 +
Change: 2019-12-31 16:27:50.946005778 +0400
 +
Birth: -
 +
</pre>
  
 
== See also ==
 
== See also ==

Revision as of 12:34, 31 December 2019

This article is a Draft. Help us to complete it.

stat display file or file system status http://man7.org/linux/man-pages/man1/stat.1.html


Examples

stat access.log
  File: access.log
  Size: 0         	Blocks: 0          IO Block: 4096   regular empty file
Device: fc11h/64529d	Inode: 8528827     Links: 1
Access: (0644/-rw-r--r--)  Uid: (  104/    _apt)   Gid: (  107/messagebus)
Access: 2019-12-31 16:28:22.654021588 +0400
Modify: 2019-12-31 16:27:48.294004369 +0400
Change: 2019-12-31 16:27:50.946005778 +0400
 Birth: -

See also

Advertising: