Through shell shortcuts I accidentally moved a dir into itself and now it seems to have disappeared. Here is the sequence cut-n-pasted directly from the terminal:
$ chmod a+x load_test_set.sh ~/bin $ mv !$ ~/bin mv ~/bin ~/bin $ ls ~/bin ls: cannot access /home/jimk/bin: No such file or directory
(the trailing "~/bin" on the chmod was inadvertant and unnoticed until I had screwed things up). I did this in tcsh on CentOS Linux release 7.8.2003.
Is this dir lost forever? Is the space lost to the file system? Can I recover the dir and/or the filesystem space?
Responding to some comments:
I ran "sudo find / -type l -name bin | less", and got:
/var/lib/docker/overlay2/882ace003168e1efea1a6f4c6575e101b625af233a25e9b9fb4cec724bb82ce9/diff/bin /var/lib/docker/overlay2/882ace003168e1efea1a6f4c6575e101b625af233a25e9b9fb4cec724bb82ce9/diff/usr/lib/debug/bin /usr/lib/debug/bin /usr/share/gdb/auto-load/bin /bin
and none of those have a "bin" subdir.
And, yes, I would have expected an error trying to mv a dir into itself... but that cut-n-paste was from the actual sequence when it happened. So it did happen and did not generate an error. (mention of VMWare removed as it was added in error)