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 open a command prompt when issuing a command?
What is bash history linux?
What Command used to lock user password?
What does cd do in linux?
Which command is used to terminate a process?
How do makefiles work?
What daemon is used for scheduling of the commands?
Enlist some linux networking and troubleshooting commands?
What is command grouping?
How to recover /etc/passwd file and /etc/shadow file?
Who is unix command?
The command ‘umask -S’
Explain about the command elm?
What does the command env do?
What is file and example?