All discussions I read about report on commands to list large files on all the system. None of them helped me to solve the problem.
I have a half full root/
root@C:~# df -Th
File system Tipo Dim. Usati Dispon. Uso% Mounted on
udev devtmpfs 3,9G 0 3,9G 0% /dev
tmpfs tmpfs 789M 9,6M 779M 2% /run
/dev/sda8 ext4 19G 9,8G 7,6G 57% /
tmpfs tmpfs 3,9G 66M 3,8G 2% /dev/shm
tmpfs tmpfs 5,0M 4,0K 5,0M 1% /run/lock
tmpfs tmpfs 3,9G 0 3,9G 0% /sys/fs/cgroup
/dev/sda1 vfat 496M 65M 432M 14% /boot/efi
/dev/sda9 ext4 421G 108G 292G 27% /home
tmpfs tmpfs 789M 108K 789M 1% /run/user/1000
However:
root@C:~# du -sch /root/*
68K /root/dmesg.txt
68K totale
There are hidden directories though:
root@C:~# echo .[^.]*
.aptitude .bash_history .bashrc .cache .config .dbus .gnupg .local .nano .profile .ssh .synaptic .wget-hsts
What is the command to get a proper list of them, to list all the heavy files and delete them?
/
- that likely has very little to do with/root
(which is just the home directory of userroot
) – steeldriver Feb 09 '18 at 01:26baobab
as it can show you all the diskspace usage.sudo apt install baobab
– Terrance Feb 09 '18 at 03:28/
is at 57% so it isn't full. – muclux Feb 09 '18 at 06:18/
directory? So I can google for help. – Py-ser Feb 11 '18 at 03:02sudo find / -xdev -type f -size +100M -exec du -sh {} +
- see for example What's a command line way to find large files/directories to remove and free up space? – steeldriver Feb 11 '18 at 03:11