Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 12 Feb 2003 22:54:47 +0200
From:      Andres Aitsen <Andres.Aitsen@mail.ee>
To:        questions@FreeBSD.ORG
Subject:   Re: how to delete a file called ????
Message-ID:  <200302122254.47194.Andres.Aitsen@mail.ee>
In-Reply-To: <200302121145.33271.kstewart@owt.com>
References:  <20030212111232.A6759@skytrackercanada.com> <20030212192143.GA7742@moo.holy.cow> <200302121145.33271.kstewart@owt.com>

next in thread | previous in thread | raw e-mail | index | archive | help
=DChel kenal p=E4eval (kolmap=E4ev, 12. veebruar 2003 21:45) kirjutas Ken=
t Stewart:
> On Wednesday 12 February 2003 11:21 am, parv wrote:
> > > I have a file called ???????????????
> > > I can't seem to clean it away.
> > >
> > > rm ????????
> > > rm '????????'
> > > rm "????????"
> > >
> > > all do not work.
>
> That is a lot of work when you could have just
>
> rm -- ???????????????
>
> The "--" tells rm that what follows is a file name.
>

Well, simple test showed, what does the job.

%touch \?\?\?\?\?\?\?\?\?\?\?\?\?\?\?
%ls -l
total 0
-rw-r--r--  1 andres  wheel  0 Feb 12 22:50 ???????????????
%rm \?\?\?\?\?\?\?\?\?\?\?\?\?\?\?
%ls -l
%

Andres

Andres.Aitsen@mail.ee


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?200302122254.47194.Andres.Aitsen>