My disk became full without me noticing it so I was unable to react. Now when I come to the login screen it loops and I assume this is due to the disk being full.
Pressing ctrl + alt + f1 gets me down to the command line. However I can't even rm -f anything because I get this error
-bash: cannot create temp file for here-document: No space left on device
I don't know what to do next? How can I delete anything to get back in my system?
df -hif that works.rm, or instead of your prompt? In the former case, maybe you have some alias that tries to implement "recycle bin" functionality, you could try using/bin/rmexplicitly.rm, right?ls -lh /some/dirand remove respective files the same way. I would look into/var/log/first and maybe truncate some files (e.g.truncate -s0 /some/large/file) without removing them so you don't interrupt system services.