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

You attempt to delete a file called sales.mem using the rm command but the command fails. What could be the problem?

1130


What is the purpose output of cd command?

1110


What is ulimit in linux?

1077


What is finger command in linux?

1108


Brief about the command ff?

1141


What are the basic command in linux?

1126


What does sh do in linux?

1024


What is mkdir m in linux?

1095


Which command is used to check the number of files and disk space used and the each user’s defined quota?

1091


How do you grep?

1006


You wish to print a file ‘draft’ with 60 lines on a page. What command would you use?

1159


What command would you use to check how much memory is being used by linux?

1085


How do you execute more than one command or program from a single command line entry?

1023


What is make command in linux?

1150


How do I get to root directory in linux?

1131