Date: Thu, 03 Feb 2000 12:10:09 -0500 From: Michel Adamus <madamus@connectalk.com> To: Mauricio Marquez <mmarquez@enlace.net> Cc: freebsd-questions@FreeBSD.ORG Subject: Re: deleting a nasty directory entry Message-ID: <3899B671.8050BFCE@connectalk.com> References: <3.0.32.20000203105930.017d86e0@enlace.net>
next in thread | previous in thread | raw e-mail | index | archive | help
From the rm man pages
The rm command uses getopt(3) to parse its arguments, which allows
it to
accept the `--' option which will cause it to stop processing flag
op-
tions at that point. This will allow the removal of file names
that be-
gin with a dash (`-'). For example:
rm -- -filename
-A.
Mauricio Marquez wrote:
>
> How do I go about deleting a nasty directory entry that goes something like:
>
> ???`???Nop???KUI??o?N?k
>
> If I try rm I get Unmatched ` . Big mistake if I try rm ???*.* or something
> similar.
>
> It just bothers me that itīs there everytime I ls.
>
> Thanks,
>
> Mauricio
>
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-questions" in the body of the message
--
- Throw me a bone here someone...
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3899B671.8050BFCE>
