restore after rm -rf


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers restore after rm -rf
# 8  
Old 06-23-2010
There is:
Code:
strings /dev/<disk device>

However, this will not look for a file, but you'll have to check the output if there's some part of your file. And you'll see just about every other string currently saved on that disk. And some strings that really aren't.

One thing you'll have to learn: in UNIX, there is no undelete command, and no Recycle Bin/Trash. If you remove a file, it has consequences, and if you don't have a backup it has sometimes dire consequences.
# 9  
Old 06-23-2010
no you cannot.

generally there are 2 things you can do...

1. forget about it.
2. don't do it again.
# 10  
Old 06-27-2010
Please consider using a command line tool called debugfs.


A deleted file is retriveable untill its not shreaded or zeroized (shread cmd Smilie. its just the allocation table has unlinked the reference to the datablock on the disk.

Now , if you are lucky enough (if newer files have not acquired that data block) ; you might be able to retrive them.


Log into your system as a super user before you start the retrieval process. Look at its man pages too. Its simple enough to use. simple commands like ls, cp are supported and it gives you a prompt, you may use the help from there too.

Good Luck!!!!!!!!!!!!

Smilie
 
Login or Register to Ask a Question

Previous Thread | Next Thread

1 More Discussions You Might Find Interesting

1. AIX

mksysb restore - Wrong OS level for restore

Hi all, I am still working on my mksysb restore. My latest issue is during an alt_disk_install from tape I got the following error after all the data had been restored. 0505-143 alt_disk_install: Unable to match mksysb level 5.2.0 with any available boot images. Please correct this... (0 Replies)
Discussion started by: pobman
0 Replies
Login or Register to Ask a Question