Results 1 to 2 of 2
Enjoy an ad free experience by logging in. Not a member yet? Register.
- Join Date
- Dec 2011
Lost content of file - RHEL5-Harddisk was almost full
I was editing one of my existing code. my hard disk was almost full. Once I saved and restarted my system, I found the contents of the file has been deleted. File is present in the file system; but the content became blank.
Any way to retrieve my previous content.
I'm not using any version control tools like cvs or git.
Thanks in advance for any help to retrieve content of my file.
That sounds like the save didnt succeed.
In this case: content is lost. No way to restore.
To verify that assumption, what do these commands tell?
ls -al <YOUR_FILE> cat -A <YOUR_FILE> | head 10
Other than that:
You might want to introduce svn or git. But you probably came to that conclusion by now.You must always face the curtain with a bow.