I tried to use rm to format a pendrive but it also deleted everything inside my Home folder.
Now I can't even login anymore. Also, pressing shift on boot wont enter in recovery mode.
I have the ubuntu installer on a bootable pendrive, thought.
Edit: Now I can access recovery mode and login as root.
Edit 2: I don't really need to get my deleted files back, because I only had wallpapers on my account. I just want to be able to login again.