stat(1)
π 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\nin FORMAT (same energy, but she actually reads your\nescapes, and she will NOT tack on a newline unless you ask. you want one? put\nin 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#and0printf 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;0if 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