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 open a command prompt when issuing a command?

1002


What is bash history linux?

1018


What Command used to lock user password?

1088


What does cd do in linux?

1162


Which command is used to terminate a process?

940


How do makefiles work?

1046


What daemon is used for scheduling of the commands?

1005


Enlist some linux networking and troubleshooting commands?

1061


What is command grouping?

1042


How to recover /etc/passwd file and /etc/shadow file?

984


Who is unix command?

1020


The command ‘umask -S’

1015


Explain about the command elm?

1016


What does the command env do?

1000


What is file and example?

1044