How to check the usage rate of a folder in Linux?

To check the usage rate of a Linux folder, you can use the following command:

  1. Can you create a new data frame for this data set?
df -h .

Option h is used to display the results in a human-readable format.

  1. Where are you?
du -sh .

Option -s is used to summarize the usage of a folder, while option -h is used to display the results in a human-readable format.

Please note that the df command displays usage of the entire file system, whereas the du command shows usage of a specific folder.

广告
Closing in 10 seconds
bannerAds