From owner-freebsd-questions@FreeBSD.ORG Mon Nov 19 15:10:32 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 10B9A16A4A0 for ; Mon, 19 Nov 2007 15:10:32 +0000 (UTC) (envelope-from barry.byrne@wbtsystems.com) Received: from hermes.wbtsystems.com (hermes.wbtsystems.com [193.120.231.28]) by mx1.freebsd.org (Postfix) with ESMTP id D1C5A13C46A for ; Mon, 19 Nov 2007 15:10:31 +0000 (UTC) (envelope-from barry.byrne@wbtsystems.com) Received: from SUNYA (sunya.wbt.wbtsystems.com [10.12.1.197]) by hermes.wbtsystems.com (Postfix) with ESMTP id 3FA39F740F; Mon, 19 Nov 2007 15:10:11 +0000 (GMT) From: "Barry Byrne" To: "'Jack Raats'" , References: <002f01c82aba$cb5f6750$4001a8c0@jarasoft.net> Date: Mon, 19 Nov 2007 15:10:05 -0000 Message-ID: <00eb01c82abe$44545730$c5010c0a@SUNYA> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 11 thread-index: AcgqvVyNETrv2xtmRS2/KYPYIvGF2wAANRzA X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3198 In-Reply-To: <002f01c82aba$cb5f6750$4001a8c0@jarasoft.net> 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 15:10:32 -0000 > -----Original Message----- > From: owner-freebsd-questions@freebsd.org > [mailto:owner-freebsd-questions@freebsd.org] On Behalf Of Jack Raats > 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: rm -- "-----" should do the trick. - barry