1

I want to get a tip of rm command filter by using bash script

view story
linux-howto

http://stackoverflow.com – Some weeks ago, a senior team member removed an important oracle database file(.dbf) unexpectedly. Fortunately, We could restore the system by using back-up files which was saved some days ago. After seeing that situation, I decided to implement a solution to make atleast a double confirmation when typing rm command on the prompt. (checks more than rm -i) Even though we aliasing rm -i as default, super speedy keyboardists usually make mistakes like that member, including me. At first, I replaced(by using alias) basic rm command to a specific bash script file which prints and confirms many (HowTos)