I have a stubborn folder that someone must have created accidentally and that has persisted all this time. I can see it with:
# find /var/www/html -maxdepth 1 -type d
which gives me:
/var/www/html /var/www/html/files /var/www/html/.?
unfortunately the question mark there is not the actual character
?, it merely seems to denote that there is no proper glyph and/or translation for that character. So something like
rmdir is out of the question. My system has UTF-8 as the default locale as so many modern Ubuntu systems, but admittedly the folder in question may have originated on a RHEL or CentOS box (
tared up and unpacked).
# env|grep LANG LANG=en_US.UTF-8
When trying to
cd .\? (as mentioned before it is not actually
?) I get auto-corrected to
. by bash and actually end up in
/var/www/html/. for some reason. Now if I can't "name" this folder usefully, I cannot access it in any way. How can I get rid of it without putting the whole system in jeopardy?
Now I installed
detox already but that only seems to act on files, not folders, according to its documentation and besides it still requires that I be able to name the object somehow to do something with it.