RE: OT - Getting fired for database oops

  • From: "Matthew Zito" <mzito@xxxxxxxxxxx>
  • To: <jkstill@xxxxxxxxx>, <Mark.Bobak@xxxxxxxxxxxx>
  • Date: Mon, 18 May 2009 12:35:33 -0400

I don't have a snapshotted VM here to try that on, but wouldn't that
only help if I'm trying to use an expansion variable, such as:


rm -rf *


I think even with a -I file rm -rf /  will still destroy everything
under the root directory, since the shell won't ever pass the -i as an






From: oracle-l-bounce@xxxxxxxxxxxxx
[mailto:oracle-l-bounce@xxxxxxxxxxxxx] On Behalf Of Jared Still
Sent: Monday, May 18, 2009 12:29 PM
To: Mark.Bobak@xxxxxxxxxxxx
Cc: Richard.Goulet@xxxxxxxxxxx;;
Subject: Re: OT - Getting fired for database oops



On Mon, May 18, 2009 at 6:53 AM, Bobak, Mark <Mark.Bobak@xxxxxxxxxxxx>

rm -rf / many ways can that one bite you?  Honestly, sometimes
I think rm needs an option like:

rm -rf
irectory-and-yes-i-know-im-logged-in-as-root-do-it-anyways /

easily mitigated by 'touch -- -i' in key directories, such as '/'

Jared Still
Certifiable Oracle DBA and Part Time Perl Evangelist


Other related posts: