dir ~

Nathan Kinkade nkinkade at ub.edu.bz
Tue Mar 1 15:13:05 GMT 2005


On Mon, Feb 28, 2005 at 04:58:45PM -0000, Rob wrote:
> Hi,
> 
>      I typed mv file dir/~ and I now have dir/~ but when I go to that it
> takes me to my home which happened to be root, I tried to delete the
> directory and it started deleting roots home. Is there a way to delete this
> ~ dir?

Can you clarify the exact command that you entered and the exact name of
the resulting file?  '/' is not a legal character in a filename, and I'm
fairly certain that the system would not let you create a file with such
a character.  I could be misinterpreting what you wrote, but when it
seems as if you are saying that you literally have a file name 'dir/~'.

Nathan
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20050301/955f2e5a/attachment.bin


More information about the freebsd-questions mailing list