LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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.

Notices


Reply
  Search this Thread
Old 11-21-2005, 02:07 AM   #1
backpacker
Member
 
Registered: Jun 2005
Distribution: Fedora 11
Posts: 68

Rep: Reputation: 15
Why a directory can not be able rmdir?


I have happened to install tow versions of php,php-4 and php-5,later I want drop off php-5.I issured the command rmdir,but php-5 remained there.Why and how can I delete completly the software?
 
Old 11-21-2005, 02:36 AM   #2
loonix
Member
 
Registered: Aug 2003
Location: Sydney Australia
Distribution: CentOS/archlinux
Posts: 40

Rep: Reputation: 16
First thing is if you want to ask for help then give as much information as possible.
What command did you give to remove the dir ?
please give this exactly.
ie
Code:
hostname# rm -rf <dir to remove>
also make sure you have permission to remove the dir.



Cheers
Mick Pollard
aka lunix-aus
http://www.lunix.com.au
 
Old 11-21-2005, 06:00 AM   #3
heema
Senior Member
 
Registered: Sep 2003
Location: Egypt
Distribution: Arch
Posts: 1,528

Rep: Reputation: 47
rmdir only removes empty directories

Last edited by heema; 11-21-2005 at 06:14 AM.
 
Old 11-21-2005, 06:07 AM   #4
mr_demilord
Member
 
Registered: Sep 2005
Posts: 244

Rep: Reputation: 30
if you want to delete a directory with file do cd to the directory where the directory is you want to delete example cd /directory/
then do rm -rf directory_you_want_to_delete
 
  


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
rmdir namit Linux - Software 2 10-23-2005 02:26 PM
rmdir command does not remove directory with space tsaravan Linux - Newbie 3 08-16-2005 08:45 AM
Perl does not want rmdir an empty directory keefaz Programming 6 05-05-2005 01:59 AM
RMDIR - how to remove a non-empty directory?? jacksmash Linux - Newbie 15 11-23-2003 12:51 PM
rmdir Fatal_3rr0r Linux - General 3 06-23-2003 04:25 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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