Problem:
I was using SSH to connect to my UNI server to test some perl code.
I dont have physical access to the server.
By accident I executed "cat > code.pm"
That is the only copy of the code I have to hand, it was somewhat long 500 lines, and I cant remember the entire structure.
Goal: To recover the content of code.pm
Name:
Anonymous2007-11-10 19:38
>>2
oh yeah the server is running centos linux with all partitions being ext3 formatted.
Name:
Anonymous2007-11-11 5:40
I see.
I don't know of any command that can list the actual inodes or blocks of a file. But since that interests me, I'm going to do some more research.
In the mean time, you could try "grep"ing the partition for parts of your code.