I have a directory I want to remove in /opt/
[user /] $ sudo su
[root /] # cd /opt
[root opt] # rm -rf tomcat9
[root opt] # ls
[root opt] # ls
tomcat9
But i still cannot seem to remove the tomcat9 directory. There are still nested directories inside tomcat9 (/opt/tomcat9/openam/openam/debug/SystemCore) but rm -rf tomcat9
as root should remove it.
There are no errors when i remove. It did actually remove but after a few seconds, tomcat9
directory reappeared again. Why is that?