April 14, 2023CentOS, Server Administration, Ubuntuadmin du -sh <directory path> example : du -sh /var/www/html/ Check size of current directory Go to that directory using cd command and run following command: du -sh