EmbLogic's Blog

issue in deleting a directory in linux system

how to delete an empty  directory in linux system.. provided rmdir <dir> is not working.. error message
” directory not empty” is displayed.

 

2 Responses to issue in deleting a directory in linux system

  1. hemant.kumar says:

    first of all you have to delete all the contents present with in the directory then you can delete by using rmdir

    • Yashvardhan says:

      rm -rf

      that means delete anything recursively..forcefully…but use it very carefully as it wont give you second chance to enter Y/N

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>