What does the df command display in UNIX?
Answer:
Explanation:
The df command in UNIX is used to display information about disk space usage. It provides details such as the total size of file systems, available space, used space, and the percentage of space that has been used. The -h option displays this information in a human-readable format (e.g., MB or GB).
For example, df -h shows disk space usage for all mounted file systems, giving you a clear overview of how much space is available and how much is being used on each disk partition. This is particularly useful for monitoring storage on servers and managing file system health.
Using the df command regularly is important for system administrators to ensure that disks do not run out of space. Proper disk space management helps in preventing system issues due to insufficient storage.