From owner-freebsd-questions@FreeBSD.ORG Fri Jun 25 05:00:58 2004 Return-Path: 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 3C4B916A4CE for ; Fri, 25 Jun 2004 05:00:58 +0000 (GMT) Received: from ns3.tele-kom.ru (ns3.tele-kom.ru [217.107.251.251]) by mx1.FreeBSD.org (Postfix) with SMTP id D765F43D48 for ; Fri, 25 Jun 2004 05:00:56 +0000 (GMT) (envelope-from doublef@tele-kom.ru) Received: (qmail 9056 invoked from network); 25 Jun 2004 04:59:20 -0000 Received: from mx.tele-kom.ru (213.80.148.6) by ns.tele-kom.ru with SMTP; 25 Jun 2004 04:59:20 -0000 Received: (qmail 27103 invoked by uid 555); 25 Jun 2004 05:00:25 -0000 Received: from shark (213.80.149.237) by t-k.ru with TeleMail/2 id 1088139623-26994 for epilogue@allstream.net; Fri, 25 Jun 09:00:23 2004 +0400 (MSD) Received: by shark (Postfix, from userid 1000) id 687CA237; Fri, 25 Jun 2004 08:59:47 +0400 (MSD) Date: Fri, 25 Jun 2004 08:59:46 +0400 From: Sergey Zaharchenko To: epilogue@allstream.net Message-ID: <20040625045946.GA40925@shark.localdomain> Mail-Followup-To: Sergey Zaharchenko , epilogue@allstream.net, ms@probsd.org, freebsd-questions@freebsd.org References: <1793.192.168.1.1.1088132789.squirrel@192.168.1.1> <50be591b04062420296611a8d5@mail.gmail.com> <20040624235109.75b3399b@localhost> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="GvXjxJ+pjyke8COw" Content-Disposition: inline In-Reply-To: <20040624235109.75b3399b@localhost> User-Agent: Mutt/1.4.2.1i cc: ms@probsd.org cc: freebsd-questions@freebsd.org Subject: Re: two questions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Jun 2004 05:00:58 -0000 --GvXjxJ+pjyke8COw Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Jun 24, 2004 at 11:51:09PM -0400, epilogue@allstream.net probably wrote: > On Thu, 24 Jun 2004 20:29:35 -0700 > Hemal Pandya wrote: >=20 > > On Thu, 24 Jun 2004 23:06:29 -0400 (EDT), Michael Sharp > > wrote: > > >=20 > > > I'm having a brain freeze tonight and apparently forgot some > > > basic UNIX commands.. > > >=20 > > > what is the command to remove the file "--directory" > > >=20 > > > rm *directory* =3D nope > > > rm "*directory*" =3D nope > > > rm \-\-\directory =3D nope > > > rm -i * =3D nope and dosent even see the file > > rm ./-directory >=20 > funny, though i tried these on a test directory... >=20 > rm ./-test > rm -- --test >=20 You're missing the -r: $ rm -r -- --test should work. --=20 DoubleF The generation of random numbers is too important to be left to chance. --GvXjxJ+pjyke8COw Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQFA27FBwo7hT/9lVdwRAkZAAJ478eKyHI7LwHFZs0sUM5CkfYkGCgCbB9dP hDSI7EOOW6qgY4VYiYTGUYI= =7Po/ -----END PGP SIGNATURE----- --GvXjxJ+pjyke8COw--