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 you run a command for a limited time?

980


List the three main parts of an operating system command?

887


What is free linux?

1034


What does kill in linux?

941


What is mkdir?

911


What is a makefile in linux?

949


How many types of commands are there in linux?

1015


What is difference between egrep and grep?

900


How do I find the linux version?

1027


What command used for showing user info like Login Name, Canonical Name, Home Directory,Shell etc in Linux?

1104


How you will create new folder / directories and how to remove file and folder in linux?

894


What is mask and umask in linux?

972


How lilo is useful in linux?

937


How use more command in linux?

1038


What is the best cpu stress test?

909