How do I force delete a file in Linux?

How do I force delete a file in Linux?
Answer
To get rid of stubborn files, first try using the Terminal to run a direct root-level delete command on the file:
  • Open the Terminal and type this command, followed by a space: sudo rm -rf.
  • Drag the desired file or folder to the terminal window.
  • Press enter, followed by entering your password.
 

Tìm kiếm

Back
Top