Linux Ask!

Linux Ask! is a Q & A web site specific for Linux related questions. Questions are collected, answered and audited by experienced Linux users.

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

  1. Delete files older than x days in Linux?
  2. Delete svn folders and files
  3. Show svn log for a particular folder
  4. Add a User in Linux
  5. How to safety delete a file in Linux?

Leave a Reply

(required)

(required)

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>