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" <[EMAIL PROTECTED]> 13/12/2001 10:30 AM
Sent by: [EMAIL PROTECTED]
Please respond to ORACLE-L
To: Multiple recipients of list ORACLE-L <[EMAIL PROTECTED]>
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: [EMAIL PROTECTED]
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: [EMAIL PROTECTED] (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: [EMAIL PROTECTED]
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: [EMAIL PROTECTED] (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).