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
Is a command a full sentence?
What does c mean in linux?
What does mkdir mean?
What does chmod do in linux?
What are grep commands?
What is the difference between locating and locate command?
How do I run a shell script?
You have a tab delimited file called phonenos and want to change each tab to four spaces. What command can you use to accomplish this?
Who unix commands?
What are the linux commands used in devops?
Which of the commands will replace all occurrences of the word rate with the word speed in the file racing?
You issue the command head * what would the resulting output be?
Write about an internal command.
How do I check my system performance?
What the command used for search file or files for specific text?