From owner-freebsd-questions Thu Oct 7 11:39: 1 1999 Delivered-To: freebsd-questions@freebsd.org Received: from chronis.pobox.com (chronis.pobox.com [208.210.124.49]) by hub.freebsd.org (Postfix) with ESMTP id D16E114CE0 for ; Thu, 7 Oct 1999 11:38:59 -0700 (PDT) (envelope-from scott@chronis.pobox.com) Received: by chronis.pobox.com (Postfix, from userid 1001) id 706209B8D; Thu, 7 Oct 1999 14:37:47 -0400 (EDT) Date: Thu, 7 Oct 1999 14:37:47 -0400 From: scott To: freebsd-questions@FreeBSD.ORG Subject: Re: Wierd Directory listing Message-ID: <19991007143747.A80742@chronis.pobox.com> Mail-Followup-To: freebsd-questions@FreeBSD.ORG References: <199910071739.MAA16970@iwww.sitel.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.7i In-Reply-To: X-Mailer: Mutt v2.03pl02 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG one can also delete stuff like this with dired mode in emacs. just run 'emacs .' in the offending directory. scott On Thu, Oct 07, 1999 at 11:14:42AM -0700, patl@phoenix.volant.org wrote: > On 7-Oct-99 at 10:42, Jack Winslade (jsw@iwww.sitel.net) wrote: > > The trick I use to remove unremovable files is to specify a pattern that > > matches only the bad one. I would first try: > > > > rm *7* > > Just a note for the paranoid: When I need to do something like > this, I use the sequence: > > ls *7* > > rm *7* > > And, while we are on the topic of deleting inconviently named > files; the easiest way to delete a file that starts with a dash > is to put './' in front. E.g., > > rm ./-r > > > -Pat > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message