LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 06-29-2002, 07:38 AM   #1
ReSync
Member
 
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
fatgod
Member
 
Registered: Mar 2002
Location: Edinburgh, Scotland
Distribution: Suse 7.2, Gentoo 1.4, Solaris 9
Posts: 661

Rep: Reputation: 30
yes.

rm -Rf /directory

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

Original Poster
Rep: Reputation: 15
Thanks!
 
  


Reply


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


All times are GMT -5. The time now is 08:26 PM.

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