From owner-freebsd-questions@FreeBSD.ORG Mon Nov 19 16:19:52 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2E93F16A46C for ; Mon, 19 Nov 2007 16:19:52 +0000 (UTC) (envelope-from trph@free.fr) Received: from postfix1-g20.free.fr (postfix1-g20.free.fr [212.27.60.42]) by mx1.freebsd.org (Postfix) with ESMTP id E4CED13C461 for ; Mon, 19 Nov 2007 16:19:51 +0000 (UTC) (envelope-from trph@free.fr) Received: from smtp1-g19.free.fr (smtp1-g19.free.fr [212.27.42.27]) by postfix1-g20.free.fr (Postfix) with ESMTP id CBBCC1E5C4AF for ; Mon, 19 Nov 2007 16:24:21 +0100 (CET) Received: from smtp1-g19.free.fr (localhost.localdomain [127.0.0.1]) by smtp1-g19.free.fr (Postfix) with ESMTP id F39811AB325; Mon, 19 Nov 2007 16:24:08 +0100 (CET) Received: from assurancetourix.theGauls.fr (rob76-4-82-238-176-192.fbx.proxad.net [82.238.176.192]) by smtp1-g19.free.fr (Postfix) with ESMTP id AE7651AB2E9; Mon, 19 Nov 2007 16:24:08 +0100 (CET) Received: from assurancetourix.theGauls.fr (localhost.theGauls.fr [127.0.0.1]) by assurancetourix.theGauls.fr (8.13.4/8.13.4) with ESMTP id lAJFN7tO000970; Mon, 19 Nov 2007 16:23:07 +0100 (CET) (envelope-from trph@assurancetourix.theGauls.fr) Received: (from trph@localhost) by assurancetourix.theGauls.fr (8.13.4/8.13.3/Submit) id lAJFN7Fm000969; Mon, 19 Nov 2007 16:23:07 +0100 (CET) (envelope-from trph) Date: Mon, 19 Nov 2007 16:23:06 +0100 From: Jean-Pierre Trophardy To: freebsd-questions@freebsd.org Message-ID: <20071119152306.GA822@assurancetourix.theGauls.fr> Mail-Followup-To: freebsd-questions@freebsd.org, Jack Raats References: <002f01c82aba$cb5f6750$4001a8c0@jarasoft.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <002f01c82aba$cb5f6750$4001a8c0@jarasoft.net> X-PGP-Fingerprint: 1856 3FC5 789D C38B 45DC B2D8 C0E0 3AEF F349 0FBC X-PGP-Key: http://jp.troph.free.fr/pgp/public_key.asc User-Agent: Mutt/1.5.16 (2007-06-09) Cc: Subject: Re: how to delete a file? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Nov 2007 16:19:52 -0000 On Mon, Nov 19, 2007 at 03:45:14PM +0100, Jack Raats wrote: > Due to an error I made the following file > > - -rw-r--r-- 1 jos jos 0 Nov 19 15:34 ----- > - -rw-r--r-- 1 jos jos 767 Nov 19 15:39 .cshrc > drwx------ 3 jos jos 512 Nov 19 15:40 .imap > > How to delete the ----- file > rm "-----" doesnot work (even with root access) > > Jack Hello Jack, rm -- "----" ^^ (dont forget to add two of them) -- Jean-Pierre