On Sun, Aug 04, 2019 at 08:32:00AM +0000, Long Wind wrote: > i have stretch at sda2, which has 9.8Gfree space is far more than 1 Gbut some > program i'm unware of take all space > how to find out and solve? Thanks!
Your request is too general for a meaningful answer. First off, space on a file system is taken up by "files". If you want to find out where the space is missing, "du" is a good command. Files live on file systems, so "sda2" (the device) is pretty meaningless in this context [1]. Let's assume /dev/sda2 is mounted on / -- then sudo du -sh /* will give you, directory for directory, where the space goes (the option "-s" says "summary", the option "-h" is for "human readable" (i.e. it would say "1.2G" instead of "1201345", for example). Then you can work your way down. May be you find a file you "know" and decide you can remove it. Maybe you aren't sure -- then the next step would be to find out which program is generating those files. There are many details I left off, but you'd have to be more specific if you want more specific help. Cheers [1] Blame stupid desktop environments for leading users to mix up all that stuff. -- tomás
signature.asc
Description: Digital signature