On
To check disk usage in CentOS we are using "du" command.

This is some of useful tips using "du" command :


  1. to check entire disk usage of all files and directories du -ah
  2. to check the specific file inside of a directory du -sh filename