Help answer threads with 0 replies.
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 10-07-2003, 08:08 AM   #1
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, 08:15 AM   #2
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, 08:19 AM   #3
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!
Old 10-07-2003, 08:48 AM   #4
Registered: Dec 2002
Posts: 39

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


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

All times are GMT -5. The time now is 07:39 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
Open Source Consulting | Domain Registration