Home > database >  How to delete a directory on linux with name "-rf" using terminal command?
How to delete a directory on linux with name "-rf" using terminal command?

Time:11-05

It may be a silly problem but I really want to know how to delete a directory with the name "-rf".

I have been trying many ways but nothing works.

Screenshot about my tried command

CodePudding user response:

Here's your answer

rm -rf ./-rf/

  • Related