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

Explain about the command lynx?

676


What does && mean in bash?

573


What is a makefile in linux?

491


Which daemon is used for scheduling of the commands?

570


How do I run a command in linux?

552






Why ms dos is used?

602


What is the use of man command in linux?

532


Which command is used to delete a group?

555


What is difference between free and available memory in linux?

510


What is echo command in batch file?

587


Which command puts a script to sleep untill a signal is recieved?

640


What are linux commands?

541


What is mask and umask in linux?

537


What is ulimit command?

611


Brief about the command kill PID?

592