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 02-10-2005, 02:49 PM   #1
Registered: Dec 2004
Posts: 189

Rep: Reputation: 33
Deleting directories

This should be easy! I've tried the rm command with the -d option and I get "cannot remove directory: matchball is a directory" Get away!

I've also tried rmdir with various switches.

Can anyone help? The directory I'm trying to remove is "matchball"
Old 02-10-2005, 02:51 PM   #2
Registered: Jan 2005
Distribution: Slackware, Fedora Core
Posts: 35

Rep: Reputation: 15
Are there files in the directory?

If there are just rm -rf matchball

or just delete everything in the directory, and then rmdir matchball
Old 02-10-2005, 03:11 PM   #3
Registered: Dec 2004
Posts: 189

Original Poster
Rep: Reputation: 33
Simple and easy. Thanks


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
rm command - deleting directories Micro420 Linux - Newbie 11 11-02-2003 03:18 PM
Deleting Directories J_Bone Linux - Newbie 4 08-17-2003 05:19 PM
deleting directories AZDAVE Linux - Newbie 1 08-15-2003 11:05 AM
Deleting full directories? AekaGSR Linux - Newbie 5 06-19-2003 06:50 PM
Deleting directories with files in them AMDPwred Linux - General 7 02-16-2003 01:06 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:01 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