How to delete a directory on linux with name "-rf" using terminal command? 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. >Solution : Here’s your answer rm -rf ./-rf/ Share this:TwitterFacebookLinkedInLike this:Like Loading... Related