Skip to content

How to delete a folder in Linux recursively?

How to delete a folder in Linux recursively?

Answer:

As an example, to remove all files/folders recursively under /home/john/tmp, use the command:

rm -rf /home/john/tmp

Share and Enjoy:
  • Print
  • Digg
  • Sphinn
  • del.icio.us
  • Facebook
  • Mixx
  • Google Bookmarks
  • Blogplay
  1. Delete files older than x days in Linux?
  2. Delete svn folders and files
  3. Add a User in Linux
  4. How to safety delete a file in Linux?
  5. What is the file dead.letter in my home folder?

Post a Comment

Your email is never published nor shared. Required fields are marked *
*
*