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

Is a command a full sentence?

966


What does c mean in linux?

977


What does mkdir mean?

1066


What does chmod do in linux?

1038


What are grep commands?

995


What is the difference between locating and locate command?

927


How do I run a shell script?

920


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?

995


Who unix commands?

1097


What are the linux commands used in devops?

982


Which of the commands will replace all occurrences of the word rate with the word speed in the file racing?

1019


You issue the command head * what would the resulting output be?

913


Write about an internal command.

964


How do I check my system performance?

971


What the command used for search file or files for specific text?

855