A file which is not deleted by normal user and also root
(using rm), for that type of file how we delete it?
Answer Posted / 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 |
Post New Answer View All Answers
How do you run a command for a limited time?
List the three main parts of an operating system command?
What is free linux?
What does kill in linux?
What is mkdir?
What is a makefile in linux?
How many types of commands are there in linux?
What is difference between egrep and grep?
How do I find the linux version?
What command used for showing user info like Login Name, Canonical Name, Home Directory,Shell etc in Linux?
How you will create new folder / directories and how to remove file and folder in linux?
What is mask and umask in linux?
How lilo is useful in linux?
How use more command in linux?
What is the best cpu stress test?