its really a trivial thing..... just alias rm to rm -i in your .bashrc if you have deleted it one bruteforce method to retrieve it (if it was a text file) is to run 'strings' on the partition that had the file, catch all output and sift through it to find your data (might be possible, a friend of mine had tried it...)
regards, Joy.M.Monteiro On Sat, 1 Jan 2005 13:59:11 +0000, Ohadi, Hamid <[EMAIL PROTECTED]> wrote: > I've noticed that some distributions have the --interactive option > switched on by default and therefore the less would be the chance of > removing a file by mistake. I was wondering if it's possible to do > that in SuSE as well or not. > > On 01-01-05 14:06, Peter wrote: > > Do a google for safedelete. > > > > DESCRIPTION > > safedelete provides a way to safely delete files so they > > can be undeleted on demand. safedelete `deletes' files by > > copying them to a safedelete directory which is specified > > at install time. Files processed by safedelete are given > > a new unique filename after they are placed in the > > safedelete directory. This allows multiple copies of the > > same file to be safedeleted without having to worry about > > collisions with existing files. > > > > Regards > > -- > > Peter > > > > - > > To unsubscribe from this list: send the line "unsubscribe linux-newbie" in > > the body of a message to [EMAIL PROTECTED] > > More majordomo info at http://vger.kernel.org/majordomo-info.html > > Please read the FAQ at http://www.linux-learn.org/faqs > > -- > Monday is an awful way to spend one seventh of your life. > - > To unsubscribe from this list: send the line "unsubscribe linux-newbie" in > the body of a message to [EMAIL PROTECTED] > More majordomo info at http://vger.kernel.org/majordomo-info.html > Please read the FAQ at http://www.linux-learn.org/faqs > -- people always turn away, from the eyes of a stranger... Afraid to know what lies behind the stare....... --QueensRyche - To unsubscribe from this list: send the line "unsubscribe linux-newbie" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.linux-learn.org/faqs