What is the function of the df command in Linux?

`df` is a commonly used Linux command that is used to display the disk space usage of the file system. It can list the mounted file systems and provide information on the disk usage, available space, used space, and file system type for each file system.

Specifically, the `df` command can provide the following information:

File system device name or mounting point.

The total capacity of the file system

– Space currently being utilized by the file system

The available space in the file system

– The utilization rate of the file system (percentage of used space out of total capacity)

– Type of file system

By running the `df` command, you can quickly check the disk usage of various file systems in the system for space management, monitoring, and planning.

bannerAds