LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Arch
User Name
Password
Arch This Forum is for the discussion of Arch Linux.

Notices

Reply
 
Search this Thread
Old 03-09-2006, 08:05 AM   #1
n00bJoe
LQ Newbie
 
Registered: Mar 2006
Distribution: Arch, yeah baby!
Posts: 9

Rep: Reputation: 0
Q: on deleting directory trees


As a linux n00b, I have a basic question: Can I use "rm" to delete an entire directory tree?

Thansk in advance.
 
Old 03-09-2006, 08:07 AM   #2
nx5000
Senior Member
 
Registered: Sep 2005
Location: Out
Posts: 3,307

Rep: Reputation: 52
Code:
rm -rf <directory>
 
Old 03-09-2006, 08:42 AM   #3
n00bJoe
LQ Newbie
 
Registered: Mar 2006
Distribution: Arch, yeah baby!
Posts: 9

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by nx5000
Code:
rm -rf <directory>
Thank you!

 
Old 03-09-2006, 12:13 PM   #4
anti.corp
Member
 
Registered: Nov 2005
Location: Copenhagen
Distribution: Debian E, Vectorlinux 5.1std, Arch, Gentoo 2006.0
Posts: 576

Rep: Reputation: 30
Quote:
Originally Posted by n00bJoe
Thank you!

Hi,

Be carefull when you are using the 'force' option though

Sincerely, Jorgen
 
  


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
"WARNING: Circular directory structure" error when deleting directory pistonbrew Linux - Software 5 02-03-2005 06:05 AM
deleting old kernel trees fourleggedant Linux - Newbie 1 09-17-2004 08:42 PM
Deleting Whole Trees Odd_Bloke Linux - Newbie 1 08-29-2003 05:14 PM
Deleting a directory... closet geek Linux - General 7 07-09-2003 06:25 AM
How to keep 2 directory trees synchronised? hrr Linux - General 2 07-02-2003 12:01 PM


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

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration