From owner-freebsd-questions Thu Dec 30 11:17:13 1999 Delivered-To: freebsd-questions@freebsd.org Received: from troutmask.apl.washington.edu (troutmask.apl.washington.edu [128.95.76.54]) by hub.freebsd.org (Postfix) with ESMTP id 9A32F14E1B; Thu, 30 Dec 1999 11:17:07 -0800 (PST) (envelope-from sgk@troutmask.apl.washington.edu) Received: (from sgk@localhost) by troutmask.apl.washington.edu (8.9.3/8.9.3) id LAA21648; Thu, 30 Dec 1999 11:16:41 -0800 (PST) (envelope-from sgk) From: Steve Kargl Message-Id: <199912301916.LAA21648@troutmask.apl.washington.edu> Subject: Re: weirdness with a directory named ~ In-Reply-To: from Kenny Drobnack at "Dec 30, 1999 02:10:42 pm" To: kdrobnac@mission.mvnc.edu (Kenny Drobnack) Date: Thu, 30 Dec 1999 11:16:41 -0800 (PST) Cc: freebsd-hackers@FreeBSD.ORG, freebsd-questions@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL54 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Kenny Drobnack wrote: > Anyway, the other day I had a directory I wanted to move to my > home directory. I did "mv dirname ~" Well, I didn't realize it till later, > but what it did was make a directory named ~ in the directory that I did What is your login shell? Read its manual page. [removing ~ story deleted] You need to escape the tilde character so that it isn't expanded by your shell. Try "rm -rf \~". -- Steve To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message