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: how delete "myfile*" in unix

Re: how delete "myfile*" in unix

From: <hemantchitale_at_charteredsemi.com>
Date: Wed, 12 Dec 2001 20:07:42 -0800
Message-ID: <F001.003DB6ED.20011212194517@fatcity.com>

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_at_bcs-ach.com.sg> 13/12/2001 10:30 AM Sent by: root_at_fatcity.com

Please respond to ORACLE-L

                                                                                       
                        
             To: Multiple recipients of list ORACLE-L <ORACLE-L_at_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

Thank you

--
Please see the official ORACLE-L FAQ: http://www.orafaq.com
--
Author: Sinard Xing
  INET: sinardyxing_at_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_at_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_at_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_at_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).
Received on Wed Dec 12 2001 - 22:07:42 CST

Original text of this message

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