From hemantchitale@charteredsemi.com Wed, 12 Dec 2001 20:07:42 -0800
From: hemantchitale@charteredsemi.com
Date: Wed, 12 Dec 2001 20:07:42 -0800
Subject: Re: how delete "myfile*" in unix
Message-ID: <F001.003DB6ED.20011212194517@fatcity.com>
MIME-Version: 1.0
Content-Type: text/plain


Use the "\" character.
"rm myfile\*"

See :
apptest > cat >myfile*
here is the data in the file !
apptest > ls -l my*
-rw-r--r--   1 apptest  system        31 Dec 13 12:08 myfile*
apptest > cat > myfile1
this is a good file
apptest > ls -l my*
-rw-r--r--   1 apptest  system        31 Dec 13 12:08 myfile*
-rw-r--r--   1 apptest  system        20 Dec 13 12:08 myfile1
apptest > rm myfile\*
apptest > ls -l my*
-rw-r--r--   1 apptest  system        20 Dec 13 12:08 myfile1
apptest >

Hemant



"Sinard Xing" <sinardyxing@bcs-ach.com.sg>    13/12/2001 10:30 AM
Sent by: root@fatcity.com

Please respond to ORACLE-L
                                                                                       
                        
             To: Multiple recipients of list ORACLE-L <ORACLE-L@fatcity.com>           
                        
             cc: (bcc: CHITALE Hemant Krishnarao/Prin DBA/CSM/ST Group)                
                        
             Subject: how delete "myfile*" in unix                                     
                        
                                                                                       
                        
                                                                                       
                        
                                                                                       
                        





Hi,

I accitentaly create a file with *

$ > myfile*

$ ls

myfile1
myfile2
myfile3
myfile*


how to delete myfile* without delete the rest of the file

* here is not a wildcard but system see this as a wildcard


Thank you
--
Please see the official ORACLE-L FAQ: http://www.orafaq.com
--
Author: Sinard Xing
  INET: sinardyxing@bcs-ach.com.sg

Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
San Diego, California        -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: ListGuru@fatcity.com (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).





-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: 
  INET: hemantchitale@charteredsemi.com

Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
San Diego, California        -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: ListGuru@fatcity.com (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).




