RE: OT moment of doubt

  • From: "Spears, Brian" <BSpears@xxxxxxxxxxxxxxxxx>
  • To: <jkstill@xxxxxxxxx>, <nigel.tufnel1@xxxxxxxxx>
  • Date: Wed, 15 Jun 2005 15:58:33 -0400

Another neat FAT finger is

  rm -R ./dir

  but types in

  rm -R . /dir   (activated at the root level) ..its been done a few times I
have heard.
   

-----Original Message-----
From: oracle-l-bounce@xxxxxxxxxxxxx [mailto:oracle-l-bounce@xxxxxxxxxxxxx]
On Behalf Of Jared Still
Sent: Wednesday, June 15, 2005 2:25 PM
To: nigel.tufnel1@xxxxxxxxx
Cc: Oracle-L@xxxxxxxxxxxxx
Subject: Re: OT moment of doubt

Every time I do it.
When using a command like that, I usually check it with ls first, then
modify the command.

eg.

ls -l *.dbf

If that gets the expected results, I will then call up the command line
history and replace the 'ls -l' 
with 'rm -f'.

This not only ensures the results are what I expect, but avoids fat
fingering that occur if the entire command is retyped:

eg. rm -f * .dbf

Notice the space between * and .dbf.

Jared



On 6/15/05, Joe <nigel.tufnel1@xxxxxxxxx> wrote:
> 
> What would you call that moment in time after you do "rm *.dbf" on all 
> your database files, where you suddenly panic about whther you're on 
> the right server or not?
> 
> This happens to me all the time, even after checking, even after 17 
> yrs of DBA-ing. Kinda like that feeling you get when your chair starts 
> to tip over backwards but you catch yourself.
> 
> :P
> 
> Joe
> --
> //www.freelists.org/webpage/oracle-l
> 



--
Jared Still
Certifiable Oracle DBA and Part Time Perl Evangelist

--
//www.freelists.org/webpage/oracle-l

--
//www.freelists.org/webpage/oracle-l

Other related posts: