What is Filling up my Disk Space
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
Related
- What is taking up space on Raspberry Pi
- How to Backup a Hard Disk Drive Independant of Filesystem
- How to make a Virtual Box Virtual Disk Read Only
- /etc/fstab Basics
- Simple Public Linux File Share Samba
- Mounting a raw partition image made from dd
- Create VirtualBox VM from command line