How do I delete a folder that won’t delete Linux?

How do I delete a folder that won’t delete Linux?
Answer
How to force delete a directory in Linux
  1. Open the terminal application on Linux.
  2. The rmdir command removes empty directories only. Hence you need to use the rm command to remove files on Linux.
  3. Type the command rm -rf dirname to delete a directory forcefully.
  4. Verify it with the help of ls command on Linux.
 

Tìm kiếm

Back
Top