In my Redhat Linux 6 I have a very strange file that doesn't leave the system no matter how I delete it
"web.process" CANNOT BE DELETED.
This "web.process" CANNOT be deleted. The command I have tried are:
command "rm -rf /default"prompts > "directory is not empty"
command "rm -f /web.process"prompts > "no such file or directory"
command "ll" inside the folderprompts > "??????????? ? ? ? ? ? web.process"
How can I delete this file?
COMMAND: "ls -a /opt/folder/web/tmp/default/web.process"
ls: cannot access /opt/folder/web/tmp/default/web.process: No such file or directory
COMMAND: "ls -la /opt/folder/web/tmp/default/"
ls: cannot access /opt/folder/web/tmp/default/web.process: No such file or directory total 0 drwxrwxr-x. 2 root root 34 Jul 24 14:35 . drwxrwxr-x. 3 root root 20 Jul 24 11:07 .. ??????????? ? ? ? ? ? web.process
it seems to me that the file has lost it's attributes and it's impossible to delete it off my sda3.
df -k /opt/tmp/defaultpasted into the question?
rm -rf /default,
rm -rf default, and
rm -rf /opt/tmp/defaultare generally three completely different commands. The first and last, in particular, almost certainly don't do the same thing.
/default; nowhere is there any suggestion that it's in
/opt/tmpexcept what you write in your first line. Can we get the output of
ls -la /, and this time, please edit it into your question.
/opt/tmp/defaultare usually three different files/directories. You definitely need to understand what putting a
/in front of a file name does in UNIX before going too much further!
/opt/folder/web/tmp/default/, in which case nothing else you type in your question is relevant, or is it in
/default, in which case your question seems confused. Could we get the output of
ls -la /opt/folder/web/tmp/default/web.processpasted into the question, to try to clear this up a bit?