Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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 do I check cpu usage?

1016


Enlist some linux to file content commands?

1070


How do I find hostname in linux?

1090


What does the command env do?

1005


Explain shift command of linux?

1115


What does make clean command do?

1027


List the three main parts of an operating system command?

926


What is clang tidy?

1004


Why is unix used?

984


What is command example?

1092


How many commands are there in linux?

1077


What is the pwd command?

1002


Why do we use cmake?

969


What is the example of command sentence?

1051


How do I get to root directory in linux?

1070