delete ~ directory

Dave Cross dave at dave.org.uk
Mon Apr 19 07:33:19 UTC 2004


On Mon, Apr 19, 2004 at 12:17:16PM +0500, Vano Beridze wrote:
> Hello
> 
> I've accidentally (from a java program) created a directory named ~ in 
> my home directory.
> Because ~ is a synonim for a home directory how can I delete this 
> directory safely?
> I mean I don't want to delete my whole home directory just that wierd one.

In general, you can use "problematic" characters in a filename by escaping
them with '\'.

rm \~

Dave...

-- 
  Or is the way they say the future's meant to feel
  Or just twenty thousand people standing in a field?





More information about the fedora-list mailing list