When exiting a file as root, I typed :x!~
and hit enter. Now I have the following:
root@host:/etc/shinken/services$ ll
total 64K
-rw-r--r-- 1 0 0 515 Sep 1 18:24 ~
drwxr-xr-x 2 10003 10003 4.0K Sep 1 18:24 .
drwxr-xr-x 29 10003 10003 4.0K Aug 8 17:11 ..
<other files omitted>
If I cd ~
, it takes me to /root
as expected.
How can I delete the new ~
without accidentally deleting my actual home?