How to recover a removed file under Linux?
Problem
By accident, I used on a file I didn't want to delete. Is there a way that I can get it back under Linux?
Error Output
rm
Unverified for your environment
Select your OS to check compatibility.
1 Fix
Fix for: How to recover a removed file under Linux?
The following are generic steps to recover text files. First use wall command to tell user that system is going down in a single user mode: Press CTRL+D to send message. Next use init 1 command to take system to a single user mode: Using grep (traditional UNIX way) to recover files Use following grep syntax: OR Where, To recover text file starting with "nixCraft" word on /dev/sda1 you can try following command: Next use vi to see file.txt. This method is ONLY useful if deleted file is text file…
Awaiting Verification
Be the first to verify this fix
Sign in to verify this fix