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 command would you use to create an empty file without opening it to edit it?

568


In order to display the last five commands you have entered using the fc command, you would type?

516


What is makefile target?

514


You read an article that lists the following command: dd if=/dev/fdo bs=512 of=/new what does this accomplish?

557


What is devops linux?

530






Is cmake a compiler?

597


What is difference between free and available memory in linux?

507


Brief about FTP hostname?

599


Suppose I lost a root password and I need to give it, I treid to change it through single usermode even though I am not get a password, then what is the otherprocedure to give a root password?

532


Why echo is used in linux?

564


What is file and example?

610


What does r mean linux?

597


What is tty name?

562


What are different command to check ram, process and hdd of linux machine?

530


Why ms dos is used?

600