From owner-freebsd-questions Mon Aug 31 04:56:32 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id EAA07976 for freebsd-questions-outgoing; Mon, 31 Aug 1998 04:56:32 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from siafu.iconnect.co.ke (siafu.iconnect.co.ke [208.208.120.2]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id EAA07965 for ; Mon, 31 Aug 1998 04:56:26 -0700 (PDT) (envelope-from me@anand.org) Received: (qmail 26032 invoked by uid 103); 31 Aug 1998 11:55:16 -0000 Mail-Followup-To: freebsd-questions@FreeBSD.ORG Message-ID: <19980831145515.A22656@iconnect.co.ke> Date: Mon, 31 Aug 1998 14:55:15 +0300 From: Anand Buddhdev To: freebsd-questions@FreeBSD.ORG Subject: Re: rm dir, not empty? References: <006d01bdd4bf$9b5dcde0$4467a8c0@anders.sanyusan.se> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.93.2 In-Reply-To: <006d01bdd4bf$9b5dcde0$4467a8c0@anders.sanyusan.se>; from Anders Andersson on Mon, Aug 31, 1998 at 11:13:24AM +0200 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Mon, Aug 31, 1998 at 11:13:24AM +0200, Anders Andersson wrote: > [root@enterprise /usr/obj/usr/src/gnu/lib]# rm -rf libgmp/ > rm: libgmp/: Directory not empty Try 'rm -rf libgmp' Note that there's no slash at the end of the directory. I'm not sure why, but you can't delete a directory if there's a slash following it. -- Anand To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message