Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Mailing Lists -> Oracle-L -> Re: how delete "myfile*" in unix
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 myfile1apptest > rm myfile\*
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