This question already has an answer here:
A directory named
~ appeared in a folder under
ls -al ~/Projects/myproject drwxr-xr-x 3 myuser staff 102 20 Sep 11:32 ~
I don't want to try removing it with rm because I have a feeling it will remove my whole home dir.
Is there any safe way to get rid of it, or any ideas on how it got there in the first place?