RE: Unable to del an OS file with special char - need ideas

From: Bobak, Mark <Mark.Bobak_at_proquest.com>
Date: Wed, 9 Jul 2008 14:44:18 -0400
Message-ID: <667C10D184B2674A82068E06A78382B51FD4D19A@AAPQMAILBX01V.proque.st>


Another option:

rm -- -C

(Works on Linux, not sure about other OSes.)
--

Mark J. Bobak
Senior Database Administrator, System & Product Technologies ProQuest
789 E. Eisenhower, Parkway, P.O. Box 1346 Ann Arbor MI 48106-1346
+1.734.997.4059 or +1.800.521.0600 x 4059 mark.bobak_at_proquest.com<mailto:mark.bobak_at_il.proquest.com> www.proquest.com<http://www.proquest.com> www.csa.com<http://www.csa.com>

ProQuest...Start here.

From: oracle-l-bounce_at_freelists.org [mailto:oracle-l-bounce_at_freelists.org] On Behalf Of vikram singh Sent: Wednesday, July 09, 2008 2:38 PM
To: Roman Podshivalov
Cc: freelists
Subject: Re: Unable to del an OS file with special char - need ideas

Yes you are right! not everything need be taken to google. Atleast not immediately. Why ever did i forget my 'man'? :-o

-Vikram

On Wed, Jul 9, 2008 at 2:35 PM, Roman Podshivalov <roman.podshivalov_at_gmail.com<mailto:roman.podshivalov_at_gmail.com>> wrote: Why google ? Just type: "man unlink" at the shell prompt 8-)

--romas

On 7/9/08, vikram singh <vikramsingh120_at_gmail.com<mailto:vikramsingh120_at_gmail.com>> wrote: Roman,

That is a smart way of doing it. It looks quicker too. I need to google more about this command.

Thanks,

Vikram

On Wed, Jul 9, 2008 at 2:29 PM, Roman Podshivalov <roman.podshivalov_at_gmail.com<mailto:roman.podshivalov_at_gmail.com>> wrote: unlink -C

--romas

On 7/9/08, vikram singh <vikramsingh120_at_gmail.com<mailto:vikramsingh120_at_gmail.com>> wrote:

Hi All,

I have this file by name '-C' created by mistake. I am unable to delete this. Any ideas?

[oraapp_at_greece app]# ls -l
total 457636
-rw-r--r-- 1 oraapp oraapp 435824640 Oct 4 2007 -C
-rw------- 1 oraapp oraapp 32271367 Oct 4 2007 nohup.out

How can i delete the '-C' file?

Thanks,

Vikram

--

http://www.freelists.org/webpage/oracle-l Received on Wed Jul 09 2008 - 13:44:18 CDT

Original text of this message