From owner-freebsd-questions@FreeBSD.ORG Sat Oct 21 21:10:31 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org 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 A45C416A40F for ; Sat, 21 Oct 2006 21:10:31 +0000 (UTC) (envelope-from xfb52@dial.pipex.com) Received: from smtp-out2.blueyonder.co.uk (smtp-out2.blueyonder.co.uk [195.188.213.5]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3E98243D45 for ; Sat, 21 Oct 2006 21:10:30 +0000 (GMT) (envelope-from xfb52@dial.pipex.com) Received: from [172.23.170.140] (helo=anti-virus02-07) by smtp-out2.blueyonder.co.uk with smtp (Exim 4.52) id 1GbO6v-00018I-Cm; Sat, 21 Oct 2006 22:10:29 +0100 Received: from [62.31.10.95] (helo=[192.168.0.2]) by asmtp-out4.blueyonder.co.uk with esmtp (Exim 4.52) id 1GbO6u-0003D2-Qi; Sat, 21 Oct 2006 22:10:28 +0100 Message-ID: <453A8CC2.1080405@dial.pipex.com> Date: Sat, 21 Oct 2006 22:10:26 +0100 From: Alex Zbyslaw User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-GB; rv:1.7.13) Gecko/20060515 X-Accept-Language: en MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <20061020162119.49001.qmail@web25221.mail.ukl.yahoo.com> <45390333.4020007@pixelhammer.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: rm command problem 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: Sat, 21 Oct 2006 21:10:31 -0000 Jonathan Arnold wrote: > DAve wrote: > >> >> director# find . -inum 107763 -exec rm -i {} \; >> remove ./.rhosts? y > > > Well, that was fun! I was wondering just how many different ways people > could come up with deleting the file, but this one has to be crowned the > winner of the all important "Most Obscure Solution" :-) To delete > something > based upon the inode - fantastic! Most handy for filenames loaded with unprintable characters which "ls" just shows as "?" and which you have no clue how to type or wildcard, but not required for simple - prefixed files, as has been demonstrated :-) --Alex