LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
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, 08: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, 08: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, 08: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, 08:48 AM   #4
ody1
Member
 
Registered: Dec 2002
Posts: 39

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


Reply



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

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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