I would like to modify/delete the /etc/named.conf file in a Red Hat 8 system. Though I log in as root, I cannot modify or delete the file, or even chmod it. Is it because the file is used by some process. I have stopped "named" daemon but still the same thing occurs.
How can I see which proccess uses a particular file? Is there any such command?