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


Please Help Members By Posting Answers For Below Questions

What commands are used to see all jobs running in the hadoop cluster and kill a job in linux?

730


How commands work in linux?

700


What is the root directory linux?

673


What is in mkdir command?

697


what do know about commands?

790






What is nbtstat command?

763


What does the ps command do in linux?

691


How do I check disk space in bash?

680


What is the makefile in c?

737


How does mkdir work in linux?

807


How do I find previous commands in linux?

695


What does chmod 644 do?

776


What is devops model?

696


What is cmake in linux?

811


How can I type in cmd?

669