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
About the author
Hi, I am a cloud engineer from Barneveld, The Netherlands. I specialize in AWS but also do some backend and frontend development.
I am currently employed full-time and am a mentor at CoderDojo Amersfoort, The Netherlands.
Please feel free to get in touch if you have any questions for me.
Comments
Join the discussionNo comments yet. Be the first to comment.



