df

BSD df Cheatsheet #

df reports file system disk space usage. It provides information about the disk space usage of file systems in BSD systems.

Basic Usage #

Command/OptionExampleDescription
dfdfDisplay disk space usage of all mounted filesystems
df -hdf -hShow sizes in human-readable format (e.g., KB, MB, GB)
df -kdf -kShow sizes in kilobytes (default)
df -mdf -mShow sizes in megabytes

Specific File Systems #

Command/OptionExampleDescription
df /pathdf /homeDisplay disk space usage for the specified path

Advanced Usage #

Command/OptionExampleDescription
df -idf -iShow inode usage instead of disk space

This cheatsheet covers essential df commands and options for BSD systems.

df

Explore our comprehensive cheatsheets to enhance your knowledge and efficiency. Each cheatsheet provides detailed command options, examples, and descriptions to help you master various tools and technologies.