{"id":357,"date":"2019-10-21T19:57:22","date_gmt":"2019-10-21T17:57:22","guid":{"rendered":"http:\/\/linuxboxen2.dk\/?p=357"},"modified":"2019-10-21T19:57:22","modified_gmt":"2019-10-21T17:57:22","slug":"stat","status":"publish","type":"post","link":"https:\/\/www.linuxboxen.dk\/?p=357","title":{"rendered":"STAT"},"content":{"rendered":"<p>STAT(1)\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 User Commands\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 STAT(1)<\/p>\n<p>NAME<\/p>\n<p>stat &#8211; display file or file system status<\/p>\n<p>SYNOPSIS<\/p>\n<p>stat [OPTION]&#8230; FILE&#8230;<\/p>\n<p>DESCRIPTION<\/p>\n<p>Display file or file system status.<\/p>\n<p>Mandatory arguments to long options are mandatory for short options<br \/>\ntoo.<\/p>\n<p>-L, &#8211;dereference<br \/>\nfollow links<\/p>\n<p>-f, &#8211;file-system<br \/>\ndisplay file system status instead of file status<\/p>\n<p>-c\u00a0 &#8211;format=FORMAT<br \/>\nuse the specified FORMAT instead of the default; output a<br \/>\nnewline after each use of FORMAT<\/p>\n<p>&#8211;printf=FORMAT<br \/>\nlike &#8211;format, but interpret backslash escapes, and do not<br \/>\noutput a mandatory trailing newline; if you want a newline,<br \/>\ninclude \\n in FORMAT<\/p>\n<p>-t, &#8211;terse<br \/>\nprint the information in terse form<\/p>\n<p>&#8211;help display this help and exit<\/p>\n<p>&#8211;version<br \/>\noutput version information and exit<\/p>\n<p>The valid format sequences for files (without &#8211;file-system):<\/p>\n<p>%a\u00a0\u00a0\u00a0\u00a0 access rights in octal<\/p>\n<p>%A\u00a0\u00a0\u00a0\u00a0 access rights in human readable form<\/p>\n<p>%b\u00a0\u00a0\u00a0\u00a0 number of blocks allocated (see %B)<\/p>\n<p>%B\u00a0\u00a0\u00a0\u00a0 the size in bytes of each block reported by %b<\/p>\n<p>%C\u00a0\u00a0\u00a0\u00a0 SELinux security context string<\/p>\n<p>%d\u00a0\u00a0\u00a0\u00a0 device number in decimal<\/p>\n<p>%D\u00a0\u00a0\u00a0\u00a0 device number in hex<\/p>\n<p>%f\u00a0\u00a0\u00a0\u00a0 raw mode in hex<\/p>\n<p>%F\u00a0\u00a0\u00a0\u00a0 file type<\/p>\n<p>%g\u00a0\u00a0\u00a0\u00a0 group ID of owner<\/p>\n<p>%G\u00a0\u00a0\u00a0\u00a0 group name of owner<\/p>\n<p>%h\u00a0\u00a0\u00a0\u00a0 number of hard links<\/p>\n<p>%i\u00a0\u00a0\u00a0\u00a0 inode number<\/p>\n<p>%m\u00a0\u00a0\u00a0\u00a0 mount point<\/p>\n<p>%n\u00a0\u00a0\u00a0\u00a0 file name<\/p>\n<p>%N\u00a0\u00a0\u00a0\u00a0 quoted file name with dereference if symbolic link<\/p>\n<p>%o\u00a0\u00a0\u00a0\u00a0 optimal I\/O transfer size hint<\/p>\n<p>%s\u00a0\u00a0\u00a0\u00a0 total size, in bytes<\/p>\n<p>%t\u00a0\u00a0\u00a0\u00a0 major device type in hex, for character\/block device special<br \/>\nfiles<\/p>\n<p>%T\u00a0\u00a0\u00a0\u00a0 minor device type in hex, for character\/block device special<br \/>\nfiles<\/p>\n<p>%u\u00a0\u00a0\u00a0\u00a0 user ID of owner<\/p>\n<p>%U\u00a0\u00a0\u00a0\u00a0 user name of owner<\/p>\n<p>%w\u00a0\u00a0\u00a0\u00a0 time of file birth, human-readable; &#8211; if unknown<\/p>\n<p>%W\u00a0\u00a0\u00a0\u00a0 time of file birth, seconds since Epoch; 0 if unknown<\/p>\n<p>%x\u00a0\u00a0\u00a0\u00a0 time of last access, human-readable<\/p>\n<p>%X\u00a0\u00a0\u00a0\u00a0 time of last access, seconds since Epoch<\/p>\n<p>%y\u00a0\u00a0\u00a0\u00a0 time of last data modification, human-readable<\/p>\n<p>%Y\u00a0\u00a0\u00a0\u00a0 time of last data modification, seconds since Epoch<\/p>\n<p>%z\u00a0\u00a0\u00a0\u00a0 time of last status change, human-readable<\/p>\n<p>%Z\u00a0\u00a0\u00a0\u00a0 time of last status change, seconds since Epoch<\/p>\n<p>Valid format sequences for file systems:<\/p>\n<p>%a\u00a0\u00a0\u00a0\u00a0 free blocks available to non-superuser<\/p>\n<p>%b\u00a0\u00a0\u00a0\u00a0 total data blocks in file system<\/p>\n<p>%c\u00a0\u00a0\u00a0\u00a0 total file nodes in file system<\/p>\n<p>%d\u00a0\u00a0\u00a0\u00a0 free file nodes in file system<\/p>\n<p>%f\u00a0\u00a0\u00a0\u00a0 free blocks in file system<\/p>\n<p>%i\u00a0\u00a0\u00a0\u00a0 file system ID in hex<\/p>\n<p>%l\u00a0\u00a0\u00a0\u00a0 maximum length of filenames<\/p>\n<p>%n\u00a0\u00a0\u00a0\u00a0 file name<\/p>\n<p>%s\u00a0\u00a0\u00a0\u00a0 block size (for faster transfers)<\/p>\n<p>%S\u00a0\u00a0\u00a0\u00a0 fundamental block size (for block counts)<\/p>\n<p>%t\u00a0\u00a0\u00a0\u00a0 file system type in hex<\/p>\n<p>%T\u00a0\u00a0\u00a0\u00a0 file system type in human readable form<\/p>\n<p>NOTE: your shell may have its own version of stat, which usually<br \/>\nsupersedes the version described here.\u00a0 Please refer to your shell&#8217;s<br \/>\ndocumentation for details about the options it supports.<\/p>\n<p>GNU coreutils online help: &lt;http:\/\/www.gnu.org\/software\/coreutils\/&gt;<br \/>\nReport stat translation bugs to &lt;http:\/\/translationproject.org\/team\/&gt;<\/p>\n<p>AUTHOR<\/p>\n<p>Written by Michael Meskes.<\/p>\n<p>COPYRIGHT<\/p>\n<p>Copyright \u00a9 2014 Free Software Foundation, Inc.\u00a0 License GPLv3+: GNU<br \/>\nGPL version 3 or later &lt;http:\/\/gnu.org\/licenses\/gpl.html&gt;.<br \/>\nThis is free software: you are free to change and redistribute it.<br \/>\nThere is NO WARRANTY, to the extent permitted by law.<\/p>\n<p>SEE ALSO<\/p>\n<p>stat(2)<\/p>\n<p>The full documentation for stat is maintained as a Texinfo manual.<br \/>\nIf the info and stat programs are properly installed at your site,<br \/>\nthe command<\/p>\n<p>info coreutils &#8216;stat invocation&#8217;<\/p>\n<p>should give you access to the complete manual.<\/p>\n<p>COLOPHON<\/p>\n<p>This page is part of the coreutils (basic file, shell and text<br \/>\nmanipulation utilities) project.\u00a0 Information about the project can<br \/>\nbe found at \u27e8http:\/\/www.gnu.org\/software\/coreutils\/\u27e9.\u00a0 If you have a<br \/>\nbug report for this manual page, see<br \/>\n\u27e8http:\/\/www.gnu.org\/software\/coreutils\/\u27e9.\u00a0 This page was obtained from<br \/>\nthe tarball coreutils-8.23.tar.xz fetched from<br \/>\n\u27e8http:\/\/www.gnutls.org\/download.html\u27e9 on 2014-12-30.\u00a0 If you discover<br \/>\nany rendering problems in this HTML version of the page, or you<br \/>\nbelieve there is a better or more up-to-date source for the page, or<br \/>\nyou have corrections or improvements to the information in this<br \/>\nCOLOPHON (which is not part of the original manual page), send a mail<br \/>\nto\u00a0man-pages@man7.org<\/p>\n<p>GNU coreutils 8.23\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 December 2014\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 STAT(1)<\/p>\n","protected":false},"excerpt":{"rendered":"<p>STAT(1)\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 User Commands\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 STAT(1) NAME stat &#8211; display file or file system status SYNOPSIS stat [OPTION]&#8230; FILE&#8230; DESCRIPTION Display file or file system status. Mandatory arguments to long options are mandatory for short options too. -L, &#8211;dereference follow links -f, &#8211;file-system display file system status instead of file status -c\u00a0 &#8211;format=FORMAT use the specified FORMAT [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_sitemap_exclude":false,"_sitemap_priority":"","_sitemap_frequency":"","footnotes":""},"categories":[8],"tags":[],"class_list":["post-357","post","type-post","status-publish","format-standard","hentry","category-shell"],"a3_pvc":{"activated":false,"total_views":0,"today_views":0},"_links":{"self":[{"href":"https:\/\/www.linuxboxen.dk\/index.php?rest_route=\/wp\/v2\/posts\/357","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.linuxboxen.dk\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.linuxboxen.dk\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.linuxboxen.dk\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.linuxboxen.dk\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=357"}],"version-history":[{"count":0,"href":"https:\/\/www.linuxboxen.dk\/index.php?rest_route=\/wp\/v2\/posts\/357\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.linuxboxen.dk\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=357"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.linuxboxen.dk\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=357"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.linuxboxen.dk\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=357"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}