1.

If we wish to delete a remove a file forcefully, we can use ____ option with rm command.(a) -i(b) -r(c) -R(d) -fThis question was posed to me in a job interview.My enquiry is from Deleting and Renaming files: rm and mv Command topic in chapter Handling Ordinary Files of Unix

Answer»

The CORRECT option is (d) -F

The best I can explain: If a file is write-protected, we can REMOVE it forcefully using -f option of rm command. For example,



Discussion

No Comment Found

Related InterviewSolutions