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 many linux commands are there?
What are the linux commands used in devops?
What is clang linux?
You locate a command in the /bin directory but do not know what it does. What command can you use to determine its purpose
Find command can search for files by
What is vnc?
What are the basic commands in command prompt?
How do you create a file?
What is the difference between kill and kill in linux?
Explain about refer?
Is cmake a compiler?
What could be the problem when a command that was issued gave a different result from the last time it was used?
What is a simple command?
What is the command to calculate the size of a folder?
Explain getopts command of linux?