Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> Re: OT: Quick (?) UNIX Question

Re: OT: Quick (?) UNIX Question

From: Mladen Gogala <mladen_at_wangtrading.com>
Date: Fri, 16 Apr 2004 12:34:16 -0400
Message-ID: <20040416163416.GA2620@mladen.wangtrading.com>


find . -name '-v' -maxdepth 1 -exec rm -f {} \;

A good thing to do would be to do the following to that particular user:

find ~user -name ".*" -maxdepth 1 -type f -exec chmod 000 {} \;

It would do wonders for his .profile, .kshrc, .fetchmail and .procmailrc files. The user will be very grateful for your help and will never do anything like that again.

On 04/16/2004 12:20:38 PM, "Vergara, Michael (TEM)" wrote:
> Somehow, a user has created a file called '-v' in a production
> directory. How in ******* do I remove it? I've tried all the
> 'rm' variants I know, to no avail. Wah!
>
> Thanks,
> Mike

-- 
Mladen Gogala
Oracle DBA
----------------------------------------------------------------
Please see the official ORACLE-L FAQ: http://www.orafaq.com
----------------------------------------------------------------
To unsubscribe send email to:  oracle-l-request_at_freelists.org
put 'unsubscribe' in the subject line.
--
Archives are at http://www.freelists.org/archives/oracle-l/
FAQ is at http://www.freelists.org/help/fom-serve/cache/1.html
-----------------------------------------------------------------
Received on Fri Apr 16 2004 - 11:34:12 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US