how can I use the grep command in termainal to undelete my text file?

link|improve this question

67% accept rate
4  
You can't use grep to undelete files. – mouviciel Sep 23 '10 at 11:44
feedback

1 Answer

up vote 4 down vote accepted

First, stop working with the disk containing your textfile. Boot from another system.

Then, You can try:

link|improve this answer
PhotoRec looks great! (if you don't mind a ncurses-like interface) – Lohoris Feb 4 '11 at 11:29
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.