Yesterday I was trying to recover some lost files from an external drive using r-linux. I think this filled my laptop's hard drive and my computer suddenly crashed and went into low graphics mode which doesn't let me log in at all.
I searched on here about low graphics mode and confirmed that full disk is one of the reasons.
Following the advice I managed to get to a VT and run the commands
sudo apt-get install --reinstall ubuntu-desktop sudo reboot
But they didn't help. Then I managed to do the command
and this showed me a table, which shows I have no space.
That's where I am stuck, I can't out figure how to delete things. I tried the command
sudo du -kxa / | sort -nr | head
but it doesn't work.
How can I find the contents I want to delete and then how to actually select the big/not important ones and delete them through the commands?
df -h returns
filesystem size used avail use% Mounted on dev/sda1 455gb 449g 0 100% / udev 2,0G 4,0K 2,0G 1% /dev tmpfs 806M 820K 805M 1% /run none 5,0M 0 5,0M 0% /run/lock none 2,0G 0 2,0G 0% /run/shm none 100M 8,0K 100M 1% /run/user overflow 1,0M 4,0K 1020K 1% /tmp