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 / sanjay

Find the inode of that file then use find command to delete

ls -i

find . -inum <inode no> -exec /usr/bin/rm {} \;

Is This Answer Correct ?    0 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is command to check ports running/used over local machine

1142


How lilo is useful in linux?

982


How do I run a .sh file in linux?

1125


What is devops linux?

988


What does the command env do?

1010


Brief about finger username?

990


What is a good processor speed?

959


What is df -h command?

1154


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

1062


Explain about document formatting?

1089


How much ram do I have linux?

983


What is grep command?

951


What command can you use to make a tape archive file of a /home directory and send it to the /dev/tape device?

1049


How do I find the process id in linux?

1050


Can I delete .bash history?

1043