What is Filling up my Disk Space

Linux Logo

What is Filling up my Disk Space

Linux Logo

Linux

Be careful not to have files inside a directory such as /tmp and then mounting a volume on /tmp.
The files will be hidden and inaccessible to the commands below

NCDU

sudo ncdu /
ncdu 1.13 ~ Use the arrow keys to navigate, press ? for help                                                                                                     
--- / -----------------------------------------------------------------------------------------------------------------------------------------------------------
    1.7 GiB [##########] /usr                                                                                                                                    
  423.4 MiB [##        ] /var
  172.8 MiB [#         ] /home
   48.0 MiB [          ] /boot
   40.1 MiB [          ] /opt
   24.6 MiB [          ] /run
    9.1 MiB [          ] /tmp
    4.5 MiB [          ] /etc
    3.8 MiB [          ] /root
e  16.0 KiB [          ] /lost+found
e   4.0 KiB [          ] /srv
e   4.0 KiB [          ] /media
    0.0   B [          ] /sys
.   0.0   B [          ] /proc
    0.0   B [          ] /dev
@   0.0   B [          ]  sbin
@   0.0   B [          ]  lib
@   0.0   B [          ]  bin
<   0.0   B [          ]  mnt

Exclude

Exclude Network and mounted volumes

-x

Delete

Highlight the file or folder and press D