DF(1)

πŸ’– df β€” like, tell me about my file systems bestie πŸ’–

okay so this is df from the General Commands Manual β€” it's the little tool you hit up when you wanna know how much space your disks are actually using, and she always delivers ✨


🌸 NAME 🌸

df β€” bestie, this shows you info about the file system that each FILE lives on, or like, literally every file system by default πŸ’…


πŸ¦‹ SYNOPSIS πŸ¦‹

df [OPTION]... [FILE]...

✨ DESCRIPTION ✨

Show info about the file system on which each FILE resides β€” or, if you don't name any files at all, she just shows you all the file systems. main character energy fr fr πŸ‘‘


πŸŽ€ OPTIONS πŸŽ€

  • --help β€” prints help info, the lil "here's what I can do" moment 🫢
  • -a, --all β€” includes the dummy file systems too, no one gets left out πŸ’–
  • -B, --block-size <SIZE> β€” scales sizes by SIZE before printing them; like, -BM prints sizes in units of 1,048,576 bytes πŸ”’
  • --total β€” produces a grand total, the big finale, the slay πŸ’…
  • -h, --human-readable β€” prints sizes in a human readable format (e.g., 1K 234M 2G) so your eyes don't die 😭
  • -H, --si β€” same vibe as above but uses powers of 1000, not 1024 🌈
  • -i, --inodes β€” lists inode info instead of block usage πŸ‘€
  • -k β€” literally just like --block-size=1K ⭐
  • -l, --local β€” limits the listing to local file systems only, keep it close to home 🏠
  • --no-sync β€” does not invoke sync before grabbing usage info (this is the default, so like, she's just being upfront about it) πŸ™ˆ
  • --output[=<FIELD_LIST>...] [default: source,size,used,avail,pcent,target] β€” uses the output format defined by FIELD_LIST, or prints all the fields if FIELD_LIST is omitted. you get to pick your own adventure bestie ✨

Possible values:

  • source
  • fstype
  • itotal
  • iused
  • iavail
  • ipcent
  • size
  • used
  • avail
  • pcent
  • file
  • target
  • -P, --portability β€” uses the POSIX output format, for when you gotta be ✨portable✨
  • --sync β€” invokes sync before getting usage info (non-windows only, so windows girlies sit this one out) πŸͺŸ
  • -t, --type <TYPE> β€” limits the listing to file systems of type TYPE 🎯
  • -T, --print-type β€” prints the file system type, so you know exactly what you're dealing with πŸ”
  • -x, --exclude-type <TYPE> β€” limits the listing to file systems not of type TYPE β€” the anti-TYPE agenda 🚫
  • -V, --version β€” prints the version πŸ“Œ
  • [paths] β€” you can hand her some paths, she'll handle it 🫢

πŸ’œ EXTRA πŸ’œ

Display values are in units of the first available SIZE from --block-size, and the DF_BLOCK_SIZE, BLOCK_SIZE and BLOCKSIZE environment variables. Otherwise, units default to 1024 bytes (or 512 if POSIXLY_CORRECT is set) πŸ’«

SIZE is an integer and optional unit (example: 10M is 10*1024*1024). Units are K, M, G, T, P, E, Z, Y (powers of 1024) or KB, MB,... (powers of 1000). Units can be decimal, hexadecimal, octal, binary β€” she's flexible like that πŸ’…


🌟 VERSION 🌟

v(uutils coreutils) 0.12.0


πŸ”₯ EXAMPLES πŸ”₯

Display all filesystems and their disk usage (using 512-byte units):

df

Display the filesystem containing the specified file or directory:

df path/to/file_or_directory

Use [k]ibibyte (1024 byte) units when showing size figures:

df -k

Display information in a portable way:

df -P

The examples are provided by the tldr-pages project <https://tldr.sh> under the CC BY 4.0 License. Please note that, as uutils is a work in progress, some examples might fail. 😭


ok real talk bestie β€” 2026-09-25, DF(1), that's the whole vibe, go check your disk space, you ate πŸ’–βœ¨πŸ‘‘
πŸ“¦ where this page comes from