A file which is not deleted by normal user and also root
(using rm), for that type of file how we delete it?
Answers were Sorted based on User's Feedback
Answer / chin
Using chattr command we need to change the attributes.
and then normally remove using rm command.
ex: chattr -iIu example
then rm -rf example
| Is This Answer Correct ? | 21 Yes | 0 No |
Answer / vishak
using the chattr command you can remove that file.
eg: if you give chattr +i filename you will get that error.
To overcome type the following command.
chattr -i filename.
after that you use rm -rf filename it will work.
| Is This Answer Correct ? | 4 Yes | 0 No |
Answer / sanjay
Find the inode of that file then use find command to delete
ls -i
find . -inum <inode no> -exec /usr/bin/rm {} \;
| Is This Answer Correct ? | 0 Yes | 3 No |
How do you find out the server processes running?
You locate a command in the /bin directory but do not know what it does. What command can you use to determine its purpose
How would you find whether a remote server is up or not?
Hi everyone i want to learn Devops in Hyderabad can anyone please suggest me best institute.
What is clang space engineers?
Explain difference between swap partition and swap file?
which command is used to see all the system configuration? like hardware, HDD, memory etc.
14 Answers ADS, eClinicalWorks, NJN,
How do makefiles work?
What is clang linux?
i am working in one company and i attend intervew they asked why do u want to chage company pls give me inteligent answar
How can I check the exit status of my previous command in Linux operating system?
0 Answers SwanSoft Technologies,
What does f mean linux?