stat(1)

πŸ“¦
version 0.7.0 Β· 2 versions
, in epel 10, fedora 43, fedora 44

πŸ’… stat(1) β€” the glow-up your file info deserved

okay bestie, so this is stat from the General Commands Manual lineup, and she is that girl. She tells you everything about a file or a whole file system. No cap.


✨ NAME ✨

stat β€” Display file or file system status. yes, that's literally it, she's the info desk of your filesystem πŸŽ€


🌸 SYNOPSIS 🌸

stat [-L|--dereference] [-f|--file-system] [-t|--terse] [-c|--format]
[--printf] [-h|--help] [-V|--version] [files]

πŸ¦‹ DESCRIPTION πŸ¦‹

Display file or file system status.

That's the whole vibe. You point her at stuff, she spills the tea about it. main character energy fr fr πŸ‘‘


πŸ’– OPTIONS πŸ’–

  • -L, --dereference β€” follow links (she's not scared of the shortcut, she follows it to the real thing)
  • -f, --file-system β€” display file system status instead of file status (zoom out, look at the whole vibe of the filesystem, not just one file)
  • -t, --terse β€” print the information in terse form (short. sweet. to the point. no yapping.)
  • -c, --format <FORMAT> β€” use the specified FORMAT instead of the default; output a newline after each use of FORMAT (you pick the fit, she wears it β€” and she adds a lil newline every time πŸ’…)
  • --printf <FORMAT> β€” like --format, but interpret backslash escapes, and do not output a mandatory trailing newline; if you want a newline, include \n in FORMAT (same energy, but she actually reads your \n escapes, and she will NOT tack on a newline unless you ask. you want one? put \n in FORMAT. periodt.)
  • -h, --help β€” Print help
  • -V, --version β€” Print version
  • [files] β€” the files in question!! the lil guys you're asking about πŸ₯Ί

πŸ”₯ EXTRA πŸ”₯

πŸ“ Valid format sequences for files (without --file-system):

  • %a β€” access rights in octal (note # and 0 printf flags)
  • %A β€” access rights in human readable form
  • %b β€” number of blocks allocated (see %B)
  • %B β€” the size in bytes of each block reported by %b
  • %C β€” SELinux security context string
  • %d β€” device number in decimal
  • %D β€” device number in hex
  • %f β€” raw mode in hex
  • %F β€” file type
  • %g β€” group ID of owner
  • %G β€” group name of owner
  • %h β€” number of hard links
  • %i β€” inode number
  • %m β€” mount point
  • %n β€” file name
  • %N β€” quoted file name with dereference (follow) if symbolic link
  • %o β€” optimal I/O transfer size hint
  • %s β€” total size, in bytes
  • %t β€” major device type in hex, for character/block device special files
  • %T β€” minor device type in hex, for character/block device special files
  • %u β€” user ID of owner
  • %U β€” user name of owner
  • %w β€” time of file birth, human-readable; - if unknown (if she doesn't know, she says -. she's honest like that)
  • %W β€” time of file birth, seconds since Epoch; 0 if unknown
  • %x β€” time of last access, human-readable
  • %X β€” time of last access, seconds since Epoch
  • %y β€” time of last data modification, human-readable
  • %Y β€” time of last data modification, seconds since Epoch
  • %z β€” time of last status change, human-readable
  • %Z β€” time of last status change, seconds since Epoch

πŸ—‚οΈ Valid format sequences for file systems:

  • %a β€” free blocks available to non-superuser
  • %b β€” total data blocks in file system
  • %c β€” total file nodes in file system
  • %d β€” free file nodes in file system
  • %f β€” free blocks in file system
  • %i β€” file system ID in hex
  • %l β€” maximum length of filenames
  • %n β€” file name
  • %s β€” block size (for faster transfers)
  • %S β€” fundamental block size (for block counts)
  • %t β€” file system type in hex
  • %T β€” file system type in human readable form
NOTE: your shell may have its own version of stat, which usually supersedes the version described here. Please refer to your shell's documentation for details about the options it supports. (like… your shell might be doing its own thing. check with your shell before you come for her, bestie πŸ™ˆ)

⭐ VERSION ⭐

v(uutils coreutils) 0.7.0


and that's the whole page, bestie πŸ’– she's stat from the uutils coreutils, version 0.7.0, and this lil manual entry is dated the same as always β€” stay iconic, go check some files, mwah 🫢✨

πŸ“¦ where this page comes from
  • epel 10: rust-coreutils-devel 0.7.0-10.el10_3 Β· MIT
  • epel 10: uutils-coreutils 0.7.0-10.el10_3 Β· (MIT OR Apache-2.0) AND Unicode-DFS-2016 AND Zlib AND (0BSD OR MIT OR Apache-2.0) AND Apache-2.0 AND (Apache-2.0 OR Apache-2.0 WITH LLVM-exception) AND (Apache-2.0 OR GPL-2.0-only) AND (Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT) AND BSD-2-Clause AND (BSD-2-Clause OR Apache-2.0 OR MIT) AND BSD-3-Clause AND CC0-1.0 AND ISC AND MIT AND (MIT OR Zlib OR Apache-2.0) AND (MIT-0 OR Apache-2.0) AND Unicode-3.0 AND (Unlicense OR MIT)
  • fedora 43: rust-coreutils-devel 0.7.0-12.fc43 Β· MIT
  • fedora 43: uutils-coreutils 0.7.0-12.fc43 Β· (MIT OR Apache-2.0) AND Unicode-DFS-2016 AND Zlib AND (0BSD OR MIT OR Apache-2.0) AND Apache-2.0 AND (Apache-2.0 OR Apache-2.0 WITH LLVM-exception) AND (Apache-2.0 OR GPL-2.0-only) AND (Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT) AND BSD-2-Clause AND (BSD-2-Clause OR Apache-2.0 OR MIT) AND BSD-3-Clause AND CC0-1.0 AND ISC AND MIT AND (MIT OR Zlib OR Apache-2.0) AND (MIT-0 OR Apache-2.0) AND Unicode-3.0 AND (Unlicense OR MIT)
  • fedora 44: rust-coreutils-devel 0.7.0-4.fc44 Β· MIT
  • fedora 44: uutils-coreutils 0.7.0-4.fc44 Β· (MIT OR Apache-2.0) AND Unicode-DFS-2016 AND Zlib AND (0BSD OR MIT OR Apache-2.0) AND Apache-2.0 AND (Apache-2.0 OR Apache-2.0 WITH LLVM-exception) AND (Apache-2.0 OR GPL-2.0-only) AND (Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT) AND BSD-2-Clause AND (BSD-2-Clause OR Apache-2.0 OR MIT) AND BSD-3-Clause AND CC0-1.0 AND ISC AND MIT AND (MIT OR Zlib OR Apache-2.0) AND (MIT-0 OR Apache-2.0) AND Unicode-3.0 AND (Unlicense OR MIT)
  • πŸ’– girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms