Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 11-06-2003, 08:16 AM   #1
LQ Newbie
Registered: Oct 2003
Posts: 3

Rep: Reputation: 0
Removing a directory

Hi All,

I'm pretty new at this ,, I want to remove a directory that contain tones of files in it on Linux 8.0 but I don't know the switch,,, rmdir does not work for me,, is says "Directory in not empty",,, that's so dumb that I can't remove a directory even if I want to,,

any help is appreciated

Old 11-06-2003, 08:25 AM   #2
Registered: May 2003
Distribution: slack,gentoo
Posts: 57

Rep: Reputation: 16
You should try "rm -rf ./directory_name".
Old 11-06-2003, 08:26 AM   #3
Registered: Nov 2003
Location: Ronneby, Sweden
Posts: 555

Rep: Reputation: 30
If you do it on a command line:

~> rm -r directory_to_remove

The '-r' flag to rm is for recursive

Old 11-06-2003, 08:43 AM   #4
LQ Newbie
Registered: Oct 2003
Posts: 3

Original Poster
Rep: Reputation: 0
Thank you to both of you


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
Removing non-empty directory satimis Linux From Scratch 5 03-09-2009 04:58 AM
removing a directory swatward Linux - Newbie 5 05-19-2005 08:22 AM
removing one directory in PATH env chunlee Linux - Newbie 4 11-06-2004 07:50 PM
removing an entire directory pasalacqua128 Linux - Software 2 06-03-2004 04:37 PM
Removing a directory WorldBuilder Linux - General 2 03-29-2003 07:04 AM > Forums > Linux Forums > Linux - Software

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

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