Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 30 Dec 1999 11:16:41 -0800 (PST)
From:      Steve Kargl <sgk@troutmask.apl.washington.edu>
To:        kdrobnac@mission.mvnc.edu (Kenny Drobnack)
Cc:        freebsd-hackers@FreeBSD.ORG, freebsd-questions@FreeBSD.ORG
Subject:   Re: weirdness with a directory named ~
Message-ID:  <199912301916.LAA21648@troutmask.apl.washington.edu>
In-Reply-To: <Pine.GSO.3.96.991230135850.28572D-100000@mission.mvnc.edu> from Kenny Drobnack at "Dec 30, 1999 02:10:42 pm"

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199912301916.LAA21648>