From owner-freebsd-questions@FreeBSD.ORG Sun Nov 28 11:21:58 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 98AC816A4CE for ; Sun, 28 Nov 2004 11:21:58 +0000 (GMT) Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.126.171]) by mx1.FreeBSD.org (Postfix) with ESMTP id 30B0443D31 for ; Sun, 28 Nov 2004 11:21:58 +0000 (GMT) (envelope-from oliverfuchs@onlinehome.de) Received: from [212.227.126.162] (helo=mrelayng.kundenserver.de) by moutng.kundenserver.de with esmtp (Exim 3.35 #1) id 1CYN7t-0003wi-00 for freebsd-questions@freebsd.org; Sun, 28 Nov 2004 12:21:57 +0100 Received: from [217.246.201.82] (helo=oliverfuchs.onlinehome.de) (TLSv1:EDH-RSA-DES-CBC3-SHA:168) (Exim 3.35 #1) id 1CYN7r-0001nG-00 for freebsd-questions@freebsd.org; Sun, 28 Nov 2004 12:21:56 +0100 Received: from oliverfuchs.onlinehome.de (oliverfuchs.onlinehome.de [127.0.0.1])iASBLlD3001749 for ; Sun, 28 Nov 2004 12:21:47 +0100 (CET) (envelope-from oliverfuchs1@oliverfuchs.onlinehome.de) Received: (from oliverfuchs1@localhost)iASBLkTM001748 for freebsd-questions@freebsd.org; Sun, 28 Nov 2004 12:21:46 +0100 (CET) (envelope-from oliverfuchs1) Date: Sun, 28 Nov 2004 12:21:46 +0100 From: Oliver Fuchs To: freebsd-questions@freebsd.org Message-ID: <20041128112146.GA1696@oliverfuchs.onlinehome.de> Mail-Followup-To: freebsd-questions@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Content-Disposition: inline User-Agent: Mutt/1.4.1i X-Provags-ID: kundenserver.de abuse@kundenserver.de auth:c2b2791553508cc938db2bcf18721a3c Subject: what does "rm //" delete? 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: Sun, 28 Nov 2004 11:21:58 -0000 Hi, I had a directory which contained the following: ls showed me simple this: "?" with 0 bytes ls -axl showed me nothing So I tried to delete the directory but could not succeed with "rm -R" because the "directory is not empty". I changed to the directory and tried to delete everything inside with "rm *" but also did not succeed. It seemed that the file had no name. So than I did a mistake and wanted to delete the file with no name with the operation: rm -R // This was a big mistake which I noticed soon enough (some files in /bin were deleted). I could repair the damage but what I want to know is what exactly is rm -R // deleting. It seems that it is deleting everything? Thanx in advance Oliver -- ... don't touch the bang bang fruit