I do
cd ~
and then pwd
. It shows /root
. Then I do ls
. It again shows root
. This is NOT another directory with the same name because when I do cd root
, it says -bash: cd: root: Not a directory
.
Somehow, I have messed up something.
**UPDATE:**
The output of ls -l ~/root
is:
-rw-r--r-- 1 root root 215040 Oct 15 10:01 /root/root
The output of ls -ld /root/root
is:
-rw-r--r-- 1 root root 215040 Oct 15 10:01 /root/root
The output of file /root/root
is:
/root/root: POSIX tar archive (GNU)
Asked by a_fan
(123 rep)
Oct 15, 2018, 10:16 AM
Last activity: Nov 19, 2024, 11:07 AM
Last activity: Nov 19, 2024, 11:07 AM