From owner-freebsd-questions@FreeBSD.ORG Fri Nov 19 22:05:12 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 F278B16A4D1 for ; Fri, 19 Nov 2004 22:05:11 +0000 (GMT) Received: from smtp4.wanadoo.fr (smtp4.wanadoo.fr [193.252.22.27]) by mx1.FreeBSD.org (Postfix) with ESMTP id E9EE943D1F for ; Fri, 19 Nov 2004 22:05:10 +0000 (GMT) (envelope-from david@landgren.net) Received: from me-wanadoo.net (localhost [127.0.0.1]) by mwinf0406.wanadoo.fr (SMTP Server) with SMTP id 508CA1C00298 for ; Fri, 19 Nov 2004 23:05:09 +0100 (CET) Received: from [82.120.204.18] (ASt-Lambert-152-2-4-18.w82-120.abo.wanadoo.fr [82.120.204.18]) by mwinf0406.wanadoo.fr (SMTP Server) with ESMTP id F21611C00288 for ; Fri, 19 Nov 2004 23:05:08 +0100 (CET) Message-ID: <419E6E18.1030004@landgren.net> Date: Fri, 19 Nov 2004 23:05:12 +0100 From: David Landgren Organization: The Dusty Decadent Delights of Imperial Pompeii User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8a4) Gecko/20040927 X-Accept-Language: en-us, en, fr-fr MIME-Version: 1.0 To: FreeBSD Question List References: <20041119133443.GA23820@akroteq.com> <18815024894.20041119150912@hexren.net> <4BAE8B4E-3A3A-11D9-8983-000D9338770A@chrononomicon.com> <200411190854.21744.josh@tcbug.org> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: can't get rid of this file with trailing backslash? 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, 19 Nov 2004 22:05:12 -0000 Bart Silverstrim wrote: [...] >>> I'm too paranoid that I know what *should* work wouldn't or would >>> still end up deleting the original file I wanted, so I'd have to >>> make a backup of the file and do it that way rather than play with >>> escapes and quotes. >> >> >> Cant' you escape the \ with a \? >> rm named.conf\\ ?? > > > I think he did do that and it worked. > > I was just commenting what my first instinct is to do. A few extra > keystrokes, but it saves my peace of mind. I jump among too many o/~ speaking words of wisdom o/~ I couldn't agree more. Another thing that no-one else has yet mentioned is rm -i named.conf\\ which will force rm to prompt for a y/n response in order to proceed with the actual unlinking. David