about: |
Disk and filesystem space: see which mounts are full, find large directories,
inspect block devices and mount tables. Most commands are read-only; some
tools differ slightly between Linux and macOS.
commands:
df:
about: Human-readable free space per mount (`df -h`).
exec:
argv: ["df", "-h"]
df-t:
about: Filesystem types and usage (`df -hT` on Linux; plain `df -h` elsewhere).
os: [linux]
exec:
argv: ["df", "-hT"]
du:
about: Summarize disk usage for paths — extra args forwarded (`-sh`, `-d`, …).
exec:
argv: ["du"]
passthrough: true
du1:
about: One-level depth summary in current directory (`du -h -d 1`).
exec:
argv: ["du", "-h", "-d", "1"]
lsblk:
about: Block devices (Linux lsblk) — disks, partitions, sizes.
os: [linux]
exec:
argv: ["lsblk"]
passthrough: true
findmnt:
about: Show mounted filesystems (Linux findmnt) — tree, filters, sources.
os: [linux]
exec:
argv: ["findmnt"]
passthrough: true
mount:
about: mount(8) — list mounts or read-only usage (forwarded args).
exec:
argv: ["mount"]
passthrough: true
blkid:
about: UUID/label/type for block devices (Linux blkid).
os: [linux]
exec:
argv: ["blkid"]
passthrough: true