LinuxQuestions.org
Visit Jeremy's Blog.
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 10-07-2003, 09:08 AM   #1
ody1
Member
 
Registered: Dec 2002
Posts: 39

Rep: Reputation: 15
remove question


Hi all,

I was wondering, how can I use the command rm to remove directories, containning subdirectories and files in them? (similar to deltree in dos) thnx
 
Old 10-07-2003, 09:15 AM   #2
fatgod
Member
 
Registered: Mar 2002
Location: Edinburgh, Scotland
Distribution: Suse 7.2, Gentoo 1.4, Solaris 9
Posts: 661

Rep: Reputation: 30
rm -rf

Have fun
 
Old 10-07-2003, 09:19 AM   #3
mdslf
LQ Newbie
 
Registered: Sep 2003
Location: Bar Harbor, ME
Posts: 10

Rep: Reputation: 0
%rm -fR

-f --> will delete all files without prompt
-R --> will delete all directories and sub directories ("r" also can be used)

Hope this helps!
-mdslf
 
Old 10-07-2003, 09:48 AM   #4
ody1
Member
 
Registered: Dec 2002
Posts: 39

Original Poster
Rep: Reputation: 15
thanks friends! be cool
 
  


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
question about fc3 "install or remove packages" tool trempel Fedora 10 08-01-2005 06:10 AM
Question on Add/Remove apps, rpm file equivalents? Arodef Fedora 7 01-09-2005 12:56 PM
What can I remove and how?? halo14 Slackware 5 09-23-2004 11:34 AM
Quick Question: permanently remove modules? 000 Linux - Newbie 2 12-31-2003 07:26 PM
add/remove applications and rpm question abbasakhtar Linux - Newbie 6 10-06-2003 02:07 PM


All times are GMT -5. The time now is 05:14 AM.

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