LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 02-10-2005, 01:49 PM   #1
NomadABC
Member
 
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, 01:51 PM   #2
bumjubeo
Member
 
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, 02:11 PM   #3
NomadABC
Member
 
Registered: Dec 2004
Posts: 189

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


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

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

All times are GMT -5. The time now is 04:05 PM.

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