Photo by Gabriel Heinzer on Unsplash
Linux commands to check disk usage
Just a reference for myself but maybe also useful for others who forgot ๐
Disk usage per folder in root:du -axh -d 1 /
Disk usage per folder in current folder:du -axh -d 1 .
Disk usage per folder in specific folder:du -axh -d 1 /var/www
Find files bigger than 4G:find . -type f -size +4G
ย