Latest LQ Deal: Linux Power User Bundle
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 12-25-2002, 12:13 PM   #1
Registered: Jan 2002
Distribution: CentOS 3.1
Posts: 119

Rep: Reputation: 15
How do you delete a directory?


A very sill question I know but how do you delete a directory which is full of files and/or other directories? rmdir seems to only want to delete empty directorys!

Also rm is asking for confimation on veery file I want to delete even as root, how can I change this?

I'm using RH 7.3.


Old 12-25-2002, 12:16 PM   #2
Registered: Jul 2002
Location: san francisco
Distribution: freebsd
Posts: 102

Rep: Reputation: 17
rm -rf <directory-name>

be careful.


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
cant delete directory linuxmandrake Linux - Newbie 4 08-16-2005 12:14 PM
shell script: delete all directories named directory.# except directory.N brian0918 Programming 3 07-13-2005 07:54 PM
how can i delete an directory?? vito_huang Linux - Newbie 4 12-16-2004 03:15 AM
Delete directory mfo6463 Linux - Newbie 8 04-20-2004 06:04 PM
how to delete a directory master Linux - Newbie 2 03-27-2004 07:47 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:48 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration