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
You attempt to delete a file called sales.mem using the rm command but the command fails. What could be the problem?
What is the purpose output of cd command?
What is ulimit in linux?
What is finger command in linux?
Brief about the command ff?
What are the basic command in linux?
What does sh do in linux?
What is mkdir m in linux?
Which command is used to check the number of files and disk space used and the each user’s defined quota?
How do you grep?
You wish to print a file ‘draft’ with 60 lines on a page. What command would you use?
What command would you use to check how much memory is being used by linux?
How do you execute more than one command or program from a single command line entry?
What is make command in linux?
How do I get to root directory in linux?