Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> RE: OT moment of doubt
Excellent comment Jared. A coupla years ago a sysadmin did something
similar and accidentally zapped lotsa directories. I ALWAYS do ls first
and even with that I have to take a deep breath before timidly hitting
<Enter>
-----Original Message-----
From: oracle-l-bounce_at_freelists.org
[mailto:oracle-l-bounce_at_freelists.org] On Behalf Of Jared Still
Sent: Wednesday, June 15, 2005 12:25 PM
To: nigel.tufnel1_at_gmail.com
Cc: Oracle-L_at_freelists.org
Subject: Re: OT moment of doubt
Every time I do it.
When using a command like that, I usually check=20
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'=20 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_at_gmail.com> wrote:
>=20
>=20
>=20
>=20
--=20
Jared Still
Certifiable Oracle DBA and Part Time Perl Evangelist
-- http://www.freelists.org/webpage/oracle-l -- http://www.freelists.org/webpage/oracle-lReceived on Wed Jun 15 2005 - 15:26:24 CDT
![]() |
![]() |