The #Hello.World# file
Hello, For some reason a file was created under my login called #Hello.World# (the hash symbol is part of the file name). I can't delete it, not even under root. I tried to open it using vim but it looks like an empty file. Does anyone know how to delete such a file? Or even what type of file this is?
If it is an empty file, then the type doesnt really matter.
It is a bit problematic to remove this file, because the shell interprets "#" as the start of a comment.
So you need to quote the filename or escape the first #
As to how it was created.. no idea.
Or, if there are no other files with "Hello,World" in their names, then "rm *Hello,World*" will also work. Or you can rename it first. As in
rename '#Hello,World#' 'goodbyecruelworld' *Hello,World*