I was doing some C programming when I wanted to compile and test my program.
gcc -g -o main file.c file2.c file3.c ...
worked for everything up till then, when suddenly I get a dozen undefined reference error message from gcc. ls and ls -la reveal that my file1.c is gone. I was in a screen, but was not connected from anywhere else. Is there any hope left?
I was running this on a remote terminal, so would my only hope be contacting the system administrator and requesting a rollback of my home directory?
UPDATE
I've managed to get a few-hour old backup made available to me, so all should be good for now. Whoever's reading this: Make backups. I didn't. I got lucky, and it's not something I would wager on happening again.
The only reason I didn't have backups was because I was linking it with some libraries and it was easier to debug it like this rather than with a makefile. I was wrong. Backup everything.