DEV Community πŸ‘©β€πŸ’»πŸ‘¨β€πŸ’»

Cover image for How to check space left and what eat it on Ubuntu
Antoine
Antoine

Posted on • Updated on

How to check space left and what eat it on Ubuntu

Photo by NASA on Unsplash

Source

2 commands are particularly useful:

df -H --output=size,used,avail

du -a /media/jack | sort -n -r | head -n 10
Enter fullscreen mode Exit fullscreen mode

example:

sudo du -a /usr | sort -n -r | head -n 10
Enter fullscreen mode Exit fullscreen mode

Hope this helps !

Top comments (1)

Collapse
 
thomasbnt profile image
Thomas Bnt

Hey πŸ‘‹πŸΌ

This looks like a good post here. Can you share this in full on DEV?

DEV generally asks that folks share their posts in full if possible and there is tooling provided to make it so that it's relatively easy to repost from outside blogs.

Hope you'll consider sharing the full post going forward.

🌚 Friends don't let friends browse without dark mode.

Sorry, it's true.