Check Disk Space in Linux

You can use the following command in Linux to check the total disk space:

df -h

This command will display detailed information about all disk partitions in the system, including total disk size, used space, available space, and file system type. The “-h” option can display disk size in a human-readable format for easier understanding.

bannerAds