Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 06-29-2002, 07:38 AM   #1
Registered: Jun 2002
Distribution: RedHat 7.2
Posts: 46

Rep: Reputation: 15
How to delete a dir and all it's content?

Is there an easy way to delete a dir and all it's sub-dir's and files without any X ?
Old 06-29-2002, 07:41 AM   #2
Registered: Mar 2002
Location: Edinburgh, Scotland
Distribution: Suse 7.2, Gentoo 1.4, Solaris 9
Posts: 661

Rep: Reputation: 30

rm -Rf /directory

careful now. this will work indescriminately
Old 06-29-2002, 07:45 AM   #3
Registered: Jun 2002
Distribution: RedHat 7.2
Posts: 46

Original Poster
Rep: Reputation: 15


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
I Can't Delete a DIR carlosinfl Linux - General 2 10-19-2005 08:44 AM
[Udev] Can I delete the content of /dev? lokee Linux - Software 6 02-04-2005 09:30 PM
delete content form a file bru Programming 1 04-30-2004 08:41 AM
Editior automatically delete content between lines dnla Linux - Newbie 2 10-21-2003 05:57 PM
How does one delete directories with content as the SU? Ferrell Ramey Linux - General 2 08-22-2002 08:16 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:15 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration