A few things you can try:

Enclosing the file name in quotes generally works.

        rm "  ?'??  "

Adding -- prevents anything further on the command line being interpreted as
a switch.

        rm -- "  ?'??  "

rm -i *

Should prompt you for each file in the directory to delete. Answer no to all
bar the one you want.

Cheers,

Barry

--
Barry Byrne, IT Manager,
WBT Systems, Block 2, Harcourt Centre
Harcourt Street, Dublin 2, Ireland

Phone:  +353 1 417 0150
Fax:    +353 1 478 5544
Email:  [EMAIL PROTECTED]
Web:    www.wbtsystems.com

> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of Tomasz Koziara
> Sent: 25 September 2002 13:34
> To: freebsd-questions
> Subject: how to delete file named "?'??"
>
>
> Hi
>
> How to delete file named  "  ?'??  "   ?
> This is probably trivial but I tryed and
> still cannot figure it out.
> Thanks.
>
> Tom
>
>
> ====
> Clearasil rozdaje 10 000 Plyt CD z hitami muzyki POP za darmo!
> Chcesz jedna, kliknij. http://a1.o2.pl/rdr.php?banner_id=625
> ====
> To Unsubscribe: send mail to [EMAIL PROTECTED]
> with "unsubscribe freebsd-questions" in the body of the message
>


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message

Reply via email to