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

How many linux commands are there?

602


What are the linux commands used in devops?

550


What is clang linux?

558


You locate a command in the /bin directory but do not know what it does. What command can you use to determine its purpose

576


Find command can search for files by

546






What is vnc?

593


What are the basic commands in command prompt?

551


How do you create a file?

529


What is the difference between kill and kill in linux?

764


Explain about refer?

536


Is cmake a compiler?

595


What could be the problem when a command that was issued gave a different result from the last time it was used?

690


What is a simple command?

563


What is the command to calculate the size of a folder?

510


Explain getopts command of linux?

587