From owner-freebsd-questions Wed Feb 12 12:55:33 2003 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id F39C137B401 for ; Wed, 12 Feb 2003 12:55:31 -0800 (PST) Received: from narva27.aklubi.ee (narva27.aklubi.ee [193.40.32.227]) by mx1.FreeBSD.org (Postfix) with ESMTP id DC38143FD7 for ; Wed, 12 Feb 2003 12:55:29 -0800 (PST) (envelope-from Andres.Aitsen@mail.ee) Received: from odin.narva27.ee (Aitsen.narva27.ee [192.168.27.23]) by narva27.aklubi.ee (8.11.6/8.11.6) with ESMTP id h1CKeXe21706 for ; Wed, 12 Feb 2003 22:40:33 +0200 Content-Type: text/plain; charset="iso-8859-1" From: Andres Aitsen To: questions@FreeBSD.ORG Subject: Re: how to delete a file called ???? Date: Wed, 12 Feb 2003 22:54:47 +0200 User-Agent: KMail/1.4.3 References: <20030212111232.A6759@skytrackercanada.com> <20030212192143.GA7742@moo.holy.cow> <200302121145.33271.kstewart@owt.com> In-Reply-To: <200302121145.33271.kstewart@owt.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Message-Id: <200302122254.47194.Andres.Aitsen@mail.ee> Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG =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